Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/aws-health-tools
/ functions
Functions
278 in github.com/aws/aws-health-tools
⨍
Functions
278
◇
Types & classes
27
↳
Endpoints
14
↓ 1 callers
Function
event_details
(event)
high-availability-endpoint/python/main.py:9
↓ 1 callers
Method
getCurrentActiveRegion
()
high-availability-endpoint/java/src/main/java/aws/health/high/availability/endpoint/demo/RegionLookup.java:14
↓ 1 callers
Method
getHealthClient
()
high-availability-endpoint/java/src/main/java/aws/health/high/availability/endpoint/demo/HighAvailabilityV2HealthClient.java:24
↓ 1 callers
Function
getLatestPhdEvent
()
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:16
↓ 1 callers
Function
getMatchingInstances
(affectedEntities)
automated-actions/AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED/LambdaFunction.js:10
↓ 1 callers
Function
getParams
(instances, dryRun)
automated-actions/AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED/LambdaFunction.js:38
↓ 1 callers
Function
get_account_id
Get the AWS account ID of the current credentials.
misc/S3-inventory-to-batch-job/s3_batch_replication/aws/iam.py:111
↓ 1 callers
Function
get_account_id
(session, account_id)
misc/s3-cross-region-copy-using-batch-operations/create_batch_copy_jobs.py:162
↓ 1 callers
Function
get_event
()
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:122
↓ 1 callers
Function
get_events
Retrieves detailed list of CloudTrail events that occured between the specified time interval. Args: username (string): Username to look
automated-actions/AWS_RISK_CREDENTIALS_EXPOSED/lambda_functions/lookup_cloudtrail_events.py:31
↓ 1 callers
Function
get_events_summaries
Summarizes CloudTrail events list by reducing into counters of occurences for each event, resource name, and resource type in list. Args:
automated-actions/AWS_RISK_CREDENTIALS_EXPOSED/lambda_functions/lookup_cloudtrail_events.py:63
↓ 1 callers
Function
get_execution_details
Get detailed execution information.
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:83
↓ 1 callers
Function
get_object_etag
Get the ETag of an S3 object. :param bucket: S3 bucket name. :param key: S3 object key. :return: The ETag string, with surrounding q
misc/S3-inventory-to-batch-job/s3_batch_replication/aws/s3control.py:34
↓ 1 callers
Function
get_part_count
Get the total number of parts by requesting metadata for part 1. Returns: (total_parts_count, total_object_size)
s3-download-partial-multiparts/s3-download-partial-multiparts.py:77
↓ 1 callers
Function
get_state
get and set the current state
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:99
↓ 1 callers
Function
get_task_executions
Get all executions for a task, sorted by start time (newest first).
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:56
↓ 1 callers
Function
get_username_from_key
Retrieves username last associated with specified IAM access key ID. Args: access_key_id (string): IAM access key ID to lookup user with
automated-actions/AWS_RISK_CREDENTIALS_EXPOSED/lambda_functions/delete_access_key_pair.py:23
↓ 1 callers
Function
get_welcome_message
()
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:114
↓ 1 callers
Function
is_retry_mode
Check if we're in retry mode (.PARTIAL file and .MISSINGRANGES both exist).
s3-download-partial-multiparts/s3-download-partial-multiparts.py:68
↓ 1 callers
Function
load_registry
Load task registry from JSON file.
misc/s3-cross-region-copy-using-aws-datasync/cleanup_datasync_tasks.py:51
↓ 1 callers
Function
load_registry
Load task registry from JSON file.
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:42
↓ 1 callers
Function
main
()
s3-download-partial-multiparts/s3-download-partial-multiparts.py:394
↓ 1 callers
Function
main
()
misc/S3-replication-script/setupReplication-me-central-1.py:24
↓ 1 callers
Function
main
()
misc/s3-cross-region-copy-using-aws-datasync/create_datasync_task.py:642
↓ 1 callers
Function
main
()
misc/s3-cross-region-copy-using-aws-datasync/cleanup_datasync_tasks.py:168
↓ 1 callers
Function
main
()
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:347
↓ 1 callers
Function
main
()
misc/s3-cross-region-copy-using-batch-operations/create_batch_copy_jobs.py:342
↓ 1 callers
Function
main
()
misc/s3-cross-region-copy-using-batch-operations/copy_large_objects.py:317
↓ 1 callers
Function
monitor_tasks
Monitor tasks continuously until interrupted.
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:296
↓ 1 callers
Function
on_intent
Called on receipt of an Intent
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:53
↓ 1 callers
Function
on_launch
()
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:91
↓ 1 callers
Function
on_session_ended
(request)
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:94
↓ 1 callers
Function
output_csv
Output statuses as CSV.
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:257
↓ 1 callers
Function
output_json
Output statuses as JSON.
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:235
↓ 1 callers
Function
parse_args
()
misc/s3-cross-region-copy-using-batch-operations/create_batch_copy_jobs.py:120
↓ 1 callers
Function
parse_args
()
misc/s3-cross-region-copy-using-batch-operations/generate_manifest.py:97
↓ 1 callers
Function
parse_args
Parse command-line arguments.
misc/s3-cross-region-copy-using-batch-operations/copy_large_objects.py:106
↓ 1 callers
Function
parse_manifest
Parse a raw S3 Inventory manifest.json dict into a :class:`Manifest`. :param data: Parsed JSON content of a manifest.json file. :return:
misc/S3-inventory-to-batch-job/s3_batch_replication/manifest.py:59
↓ 1 callers
Function
read_missing_ranges
Read the .MISSINGRANGES file and parse byte ranges. Returns: List of (start_byte, end_byte) tuples
s3-download-partial-multiparts/s3-download-partial-multiparts.py:48
↓ 1 callers
Function
serialise_manifest
Serialise a :class:`Manifest` to JSON bytes suitable for upload as a manifest.json. :param manifest: The manifest to serialise. :return:
misc/S3-inventory-to-batch-job/s3_batch_replication/manifest.py:112
↓ 1 callers
Function
set_region
Set the default region for all future boto3 clients. :param region: AWS region or None to use the default region
misc/S3-inventory-to-batch-job/s3_batch_replication/aws/boto.py:25
↓ 1 callers
Function
setupClient
(region)
automated-actions/AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED/LambdaFunction.js:31
↓ 1 callers
Function
snsMessage
(topic, subject, message)
shd-notifier/Health-Event-Chat-Post-LambdaFn.py:61
↓ 1 callers
Function
start_datasync_task
Start a DataSync task execution. Args: task_arn: DataSync task ARN region: AWS region where task is located incl
misc/s3-cross-region-copy-using-aws-datasync/create_datasync_task.py:431
↓ 1 callers
Function
trimArnToName
(arn)
shd-notifier/Health-Event-Poller-LambdaFn.py:55
↓ 1 callers
Function
validate_csv_format
Validate CSV file format and return list of task configurations. Required columns: source_bucket, dest_region Optional columns: sour
misc/s3-cross-region-copy-using-aws-datasync/create_datasync_task.py:190
↓ 1 callers
Function
validate_role_kms_permissions
Smoke-test that an IAM role's inline policy allows the required KMS actions on a key. This is a best-effort check — it does not perform full
misc/S3-inventory-to-batch-job/s3_batch_replication/aws/iam.py:62
Method
ActiveRegionHasChangedException
(String message)
high-availability-endpoint/java/src/main/java/aws/health/high/availability/endpoint/demo/ActiveRegionHasChangedException.java:6
Method
HighAvailabilityV2HealthClient
()
high-availability-endpoint/java/src/main/java/aws/health/high/availability/endpoint/demo/HighAvailabilityV2HealthClient.java:22
Method
RegionLookupException
(String message)
high-availability-endpoint/java/src/main/java/aws/health/high/availability/endpoint/demo/RegionLookupException.java:6
Method
__init__
(self, part_number: int, start_byte: int, end_byte: int, size: int)
s3-download-partial-multiparts/s3-download-partial-multiparts.py:41
Method
__init__
(self, *types: click.ParamType)
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:96
Method
__init__
(self, scope: Construct, construct_id: str, **kwargs)
automated-actions/ECS_TASK_PATCHING_AUTOMATION/ecs_task_patching_recovery/ecs_task_patching_recovery_stack.py:40
Function
_client_factory
(svc, region_name=None, config=None)
misc/s3-cross-region-copy-using-batch-operations/tests/test_create_batch_copy_jobs.py:303
Function
_copy_object
Copy a single object preserving original part structure so ETags match. For multipart objects, uses create_multipart_upload / upload_part_copy /
misc/s3-cross-region-copy-using-batch-operations/copy_large_objects.py:203
Function
_count_rows
Download a gzipped CSV inventory file and count its rows.
misc/S3-inventory-to-batch-job/s3_batch_replication/commands/split.py:48
Function
_make
(**overrides)
misc/s3-cross-region-copy-using-batch-operations/tests/conftest.py:20
Function
_populate
Create bucket and put objects. objects: list of (key, size_in_bytes) tuples
misc/s3-cross-region-copy-using-batch-operations/tests/conftest.py:41
Function
aws_credentials
Set dummy AWS credentials for moto.
misc/s3-cross-region-copy-using-batch-operations/tests/conftest.py:8
Method
client_factory
(service, region_name=None)
misc/S3-replication-script/test/test_setup_replication.py:60
Function
complete_buckets
Complete S3 bucket names from the current account, using the typed prefix for server-side filtering. :param ctx: Click context. :param p
misc/S3-inventory-to-batch-job/s3_batch_replication/aws/complete.py:45
Function
complete_regions
Complete AWS region names using botocore's bundled endpoints data. :param ctx: Click context. :param param: Click parameter being comple
misc/S3-inventory-to-batch-job/s3_batch_replication/aws/complete.py:25
Method
convert
Convert integer percentage to float threshold.
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:32
Method
convert
Return the value as an S3 bucket ARN, converting from plain bucket name if needed.
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:48
Method
convert
Validate and return the KMS key ARN, or fail with a descriptive error.
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:74
Method
convert
Validate and return the IAM role ARN, or fail with a descriptive error.
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:86
Method
convert
Try each delegate type in order and return the first successful conversion.
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:100
Method
convert
Validate as an S3 URI or an existing local file path.
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:116
Method
convert
Parse and return the object count as an integer, or fail with a descriptive error.
misc/S3-inventory-to-batch-job/s3_batch_replication/types.py:135
Function
fake_head
(**kwargs)
misc/s3-cross-region-copy-using-batch-operations/tests/test_generate_manifest.py:73
Function
fake_head_bucket
(**kwargs)
misc/s3-cross-region-copy-using-batch-operations/tests/test_generate_manifest.py:48
Method
finalize
Remove injected files after build.
misc/S3-inventory-to-batch-job/scripts/hatch_build.py:64
Function
get_version
Return the current version string, including git commit hash if available.
misc/S3-inventory-to-batch-job/s3_batch_replication/version.py:49
Function
handleResponse
(err, data)
automated-actions/AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED/LambdaFunction.js:57
Function
handler
(event, context)
slack-notifier/LambdaFunction.py:31
Method
initialize
Write _version.py (and COMMIT for sdist) before assembly.
misc/S3-inventory-to-batch-job/scripts/hatch_build.py:42
Function
lambda_handler
(event, context)
coralogix-notifier/LambdaFunction.py:20
Function
lambda_handler
(event, context)
shd-notifier/Health-Event-Chat-Post-LambdaFn.py:135
Function
lambda_handler
(event, context)
shd-notifier/Health-Event-Poller-LambdaFn.py:66
Function
lambda_handler
(event, context)
shd-notifier/Health-Event-Status-LambdaFn.py:15
Function
lambda_handler
(event, context)
shd-notifier/Health-Event-Iterator-LambdaFn.py:19
Function
lambda_handler
(event, context)
automated-actions/AWS_RISK_CREDENTIALS_EXPOSED/lambda_functions/notify_security.py:27
Function
lambda_handler
(event, context)
automated-actions/AWS_RISK_CREDENTIALS_EXPOSED/lambda_functions/delete_access_key_pair.py:6
Function
lambda_handler
(event, context)
automated-actions/AWS_RISK_CREDENTIALS_EXPOSED/lambda_functions/lookup_cloudtrail_events.py:8
Function
lambda_handler
(event, context)
automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/alexa_skill.py:39
Function
lambda_handler
Post a message to the Teams Room when a new AWS Health event is generated
teams-notifier/LambdaFunction.py:16
Function
lambda_handler
Post a message to the Chime Room when a new AWS Health event is generated
chime-notifier/LambdaFunction.py:11
Function
replicate
Create S3 Batch Replication jobs (suspended) from sub-manifests.
misc/S3-inventory-to-batch-job/s3_batch_replication/commands/replicate.py:51
Method
setUp
Set up test fixtures.
misc/S3-replication-script/test/test_setup_replication.py:31
Function
setup_iam_role
Create an IAM role for S3 Batch Replication. When chained before setup-replication-rules or replicate, a propagation delay is automatically a
misc/S3-inventory-to-batch-job/s3_batch_replication/commands/setup_iam_role.py:127
Function
setup_replication_rules
Configure a Cross-Region Replication rule on the source bucket. Creates the destination bucket if it does not exist and enables versioning on bot
misc/S3-inventory-to-batch-job/s3_batch_replication/commands/setup_replication_rules.py:47
Function
signal_handler
Handle Ctrl+C gracefully.
misc/s3-cross-region-copy-using-aws-datasync/check_task_status.py:341
Function
split
Partition an S3 Inventory manifest into sub-manifests for batch replication jobs.
misc/S3-inventory-to-batch-job/s3_batch_replication/commands/split.py:68
Method
test_access_denied_raises
(self, mocker)
misc/S3-inventory-to-batch-job/tests/test_kms.py:73
Method
test_aws_managed_key_skips_iam_grants
(self)
misc/S3-inventory-to-batch-job/tests/test_kms.py:102
Method
test_aws_managed_s3_key_returned
aws/s3 key should be returned so SseKmsEncryptedObjects gets set.
misc/S3-inventory-to-batch-job/tests/test_kms.py:46
Method
test_batch_job_created
Test batch replication job is created.
misc/S3-replication-script/test/test_setup_replication.py:171
Function
test_build_tagging_string
(tag_set, expected)
misc/s3-cross-region-copy-using-batch-operations/tests/test_copy_large_objects.py:122
Function
test_check_bucket_accessible
(scenario, expected)
misc/s3-cross-region-copy-using-batch-operations/tests/test_create_batch_copy_jobs.py:86
Function
test_check_bucket_accessible_errors
(code)
misc/s3-cross-region-copy-using-batch-operations/tests/test_copy_large_objects.py:137
← previous
next →
101–200 of 278, ranked by callers