MCPcopy Create free account

hub / github.com/awsdocs/aws-doc-sdk-examples / functions

Functions13,204 in github.com/awsdocs/aws-doc-sdk-examples

↓ 26 callersFunctiontableSetupTeardown
(tableName, primaryKey, items = [])
javascriptv3/example_code/dynamodb/libs/dynamodb-test.utils.js:21
↓ 26 callersFunctionwait
Waits for a specified number of seconds, while also displaying an animated spinner. :param seconds: The number of seconds to wait. :
python/demo_tools/retries.py:15
↓ 25 callersMethodDelete
(url string)
gov2/s3/scenarios/scenario_presigning.go:33
↓ 24 callersMethodadd_client_error
When using stubs, add a stubbed error response.
python/test_tools/example_stubber.py:41
↓ 24 callersMethodgetAsyncClient
Retrieves an asynchronous Amazon Elastic Container Registry (ECR) client. @return the configured ECR asynchronous client.
javav2/example_code/ec2/src/main/java/com/example/ec2/scenario/EC2Actions.java:77
↓ 24 callersMethodtoString
()
javav2/usecases/create_amazon_personalize_app/src/main/java/com/amazonaws/personalize/client/demo/movielens/RecommendationsInterface.java:59
↓ 24 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/location/src/main/java/com/example/location/scenario/LocationScenario.java:397
↓ 23 callersMethoddelete
Delete the bucket. The bucket must be empty or an error is raised.
python/example_code/s3/s3_basics/bucket_wrapper.py:108
↓ 23 callersMethodgetId
()
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/datamodeling/DynamoDBMapperExample.java:70
↓ 23 callersMethodhandle
(String target, HttpServletRequest request, HttpServletResponse response, int dispatch)
javav2/usecases/create_amazon_personalize_app/src/main/java/com/amazonaws/personalize/client/demo/movielens/WebHandler.java:37
↓ 23 callersMethodput
Upload data to the object. :param data: The data to upload. This can either be bytes or a string. When this arg
python/example_code/s3/s3_basics/object_wrapper.py:36
↓ 23 callersMethodurl
* Construct a URL object against the collection backing this RestService.
resources/clients/react/elwing/src/plugins/item-tracker/RestService.ts:15
↓ 22 callersMethodgetValue
(SecretsManagerClient secretsClient, String secretName)
javav2/example_code/secrets-manager/src/main/java/com/example/secrets/GetSecretValue.java:56
↓ 22 callersFunctionprint_dashes
Print a line of dashes to separate sections of the output.
python/example_code/iotsitewise/iotsitewise_getting_started.py:33
↓ 21 callersMethodattach_policy
Attaches an IAM policy to a role and optionally attaches additional AWS-managed policies. :param role_name: The name of the role to
python/cross_service/resilient_service/auto_scaler.py:126
↓ 21 callersMethodcreate
* Send a POST request to the base collection URL, with a body including * necessary item fields _except_ `id`. `id` will be provided by the server
resources/clients/react/elwing/src/plugins/item-tracker/RestService.ts:83
↓ 21 callersMethoddelete
(WorkItem entity)
javav2/usecases/Creating_Spring_RDS_Rest/src/main/java/com/aws/rest/WorkItemRepository.java:201
↓ 21 callersMethoddeleteBucket
Deletes an Amazon S3 bucket. @param bucketName the name of the bucket to delete @return a {@link CompletableFuture} that completes when the bucket ha
javav2/example_code/s3/src/main/java/com/example/s3/batch/S3BatchActions.java:635
↓ 21 callersMethodgetAsyncClient
Retrieves an asynchronous AWS Key Management Service (KMS) client. <p> This method creates and returns a singleton instance of the KMS async client, w
javav2/example_code/kms/src/main/java/com/example/kms/scenario/KMSActions.java:86
↓ 21 callersMethodgetAsyncClient
Retrieves an asynchronous CloudWatch client instance. <p> This method ensures that the CloudWatch client is initialized with the following configurat
javav2/example_code/cloudwatch/src/main/java/com/example/cloudwatch/scenario/CloudWatchActions.java:104
↓ 21 callersMethodgetItem
(String keyVal)
java/example_code/dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/client/DynamoDBDynamicFaultInjection.java:124
↓ 21 callersMethodinput
* @param {{ message: string }} options
javascriptv3/example_code/libs/prompter.js:18
↓ 21 callersMethodputItem
(String issueId, String title, String description, String createDate, String lastUpdateDate, Strin
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/lowlevel/LowLevelGlobalSecondaryIndexExample.java:213
↓ 21 callersMethodsendEmail
(PinpointEmailClient pinpointEmailClient, String subject, String senderAddress, String toAddress)
javav2/example_code/pinpoint/src/main/java/com/example/pinpoint/SendEmailMessage.java:82
↓ 21 callersFunctionstartsWith
(positionalArgs)
javascriptv3/example_code/libs/utils/util-array.js:17
↓ 21 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/batch/src/main/java/com/example/batch/scenario/BatchScenario.java:456
↓ 20 callersMethodcreate_policy
Creates a new IAM policy or retrieves the ARN of an existing policy. :param policy_file: The path to a JSON file that contains the p
python/cross_service/resilient_service/auto_scaler.py:70
↓ 20 callersMethodcreate_role
Creates a new IAM role or retrieves the ARN of an existing role. :param role_name: The name to give the created role. :param
python/cross_service/resilient_service/auto_scaler.py:100
↓ 20 callersMethoddelete
Deletes a state machine and all associated run information.
python/cross_service/stepfunctions_messenger/stepfunctions_statemachine.py:92
↓ 20 callersFunctionlog
(msg)
javascriptv3/example_code/dynamodb/scenarios/basic.js:44
↓ 19 callersMethodcreate_queue
Create an SQS queue. :param queue_name: The name of the queue to create. :param is_fifo: Whether to create a FIFO queue.
python/cross_service/topics_and_queues/sqs_wrapper.py:44
↓ 19 callersMethodputItem
( String issueId, String title, String description, String createDate, String lastUpdateDate, Str
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/document/DocumentAPIGlobalSecondaryIndexExample.java:201
↓ 19 callersMethodrun
* @param {StepHandlerOptions} stepHandlerOptions
javascriptv3/example_code/libs/scenario/scenario.js:422
↓ 19 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/entityresolution/src/main/java/com/example/entity/scenario/EntityResScenario.java:432
↓ 19 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/opensearch/src/main/java/com/example/search/scenario/OpenSearchScenario.java:43
↓ 19 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/ssm/src/main/java/com/example/scenario/SSMScenario.java:239
↓ 18 callersMethoddelete
Delete the OpsItem.
python/example_code/ssm/ops_item.py:74
↓ 18 callersMethoddeleteObjects
deleteObjects deletes all objects in the specified bucket.
gov2/workflows/s3_object_lock/workflows/resources.go:93
↓ 18 callersMethoddeleteQueue
(String queueUrl)
javav2/example_code/sqs/src/main/java/com/example/sqs/MessageAttributesExample.java:173
↓ 18 callersFunctiondirnameFromMetaUrl
(metaUrl)
javascriptv3/example_code/libs/utils/util-fs.js:24
↓ 18 callersMethodgetFilePath
(String pathRelativeToResourcesDir)
javav2/example_code/s3/src/main/java/com/example/s3/util/S3DirectoryBucketUtils.java:654
↓ 18 callersFunctionpress_enter_to_continue
()
python/example_code/iotsitewise/iotsitewise_getting_started.py:44
↓ 18 callersMethodupdate
(DemoState demoState)
javav2/example_code/bedrock-runtime/src/main/java/com/example/bedrockruntime/libs/demo/scenarios/SystemPromptScenario.java:42
↓ 18 callersMethodupdateItem
(AmazonDynamoDB dynamoDBClient, String tableName, String id, String val)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/StreamsAdapterDemoHelper.java:89
↓ 18 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/s3/src/main/java/com/example/s3/scenario/S3Scenario.java:303
↓ 17 callersMethodcreateBucket
Creates an Amazon S3 bucket with the specified name. @param bucketName the name of the S3 bucket to create @throws S3Exception if there is an error c
javav2/example_code/s3/src/main/java/com/example/s3/batch/S3BatchActions.java:475
↓ 17 callersMethoddescribeTable
(AmazonDynamoDB client, String tableName)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/StreamsAdapterDemoHelper.java:66
↓ 17 callersMethodsend
(SesV2Client client, String sender, String recipient
javav2/example_code/ses/src/main/java/com/example/sesv2/SendEmail.java:63
↓ 17 callersMethodupdate
Update an OpsItem. :param title: The new OpsItem title. :param description: The new OpsItem description. :param stat
python/example_code/ssm/ops_item.py:127
↓ 17 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/iot/src/main/java/com/example/iot/scenario/IotScenario.java:215
↓ 17 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/ecr/src/main/java/com/example/ecr/scenario/ECRScenario.java:349
↓ 17 callersFunctionzip
(inputPath)
javascriptv3/example_code/libs/utils/util-fs.js:62
↓ 16 callersMethodconverse
()
javav2/example_code/bedrock-runtime/src/main/java/com/example/bedrockruntime/models/mistral/Converse.java:20
↓ 16 callersMethodcreate_bucket
Create an S3 bucket. Args: bucket_name (str): Name of the bucket to create Raises: ClientError: If
python/example_code/s3/scenarios/batch/s3_batch_wrapper.py:44
↓ 16 callersMethodgetDate
()
javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/Work.java:70
↓ 16 callersFunctionmain
()
javascriptv3/example_code/location/actions/delete-map.js:15
↓ 16 callersFunctionrender
()
javascriptv3/example_code/cross-services/textract-react/src/index.js:40
↓ 16 callersMethodrun
Orchestrates the execution of the workflow steps.
javav2/example_code/ses/src/main/java/com/example/sesv2/NewsletterWorkflow.java:92
↓ 16 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/iotsitewise/src/main/java/com/example/iotsitewise/scenario/SitewiseScenario.java:337
↓ 15 callersMethodAskChoice
(question string, choices []string)
gov2/demotools/question.go:90
↓ 15 callersMethodCreateQueue
snippet-end:[gov2.sqs.SqsActions.struct] snippet-start:[gov2.sqs.CreateQueue] CreateQueue creates an Amazon SQS queue with the specified name. You can
gov2/workflows/topics_and_queues/actions/sqs_actions.go:32
↓ 15 callersMethodDeleteQueue
snippet-end:[gov2.sqs.DeleteMessageBatch] snippet-start:[gov2.sqs.DeleteQueue] DeleteQueue deletes an Amazon SQS queue.
gov2/workflows/topics_and_queues/actions/sqs_actions.go:173
↓ 15 callersMethodaddAttribute
(final String attributeName, final String attributeValue)
javav2/example_code/sns/src/main/java/com/example/sns/SNSMessageFilterPolicy.java:34
↓ 15 callersMethodgetAsyncClient
()
javav2/example_code/s3/src/main/java/com/example/s3/scenario/S3Actions.java:59
↓ 15 callersMethodgetAsyncClient
()
javav2/example_code/ssm/src/main/java/com/example/scenario/SSMActions.java:65
↓ 15 callersMethodgetClient
()
javav2/example_code/s3/src/main/java/com/example/s3/lockscenario/S3LockActions.java:55
↓ 15 callersMethodpost
Sends an email of a previously created report. Two versions of the email are included: * An HTML version that formats the CS
python/cross_service/photo_analyzer/api/report.py:75
↓ 15 callersFunctionreadLatin1String
(ptr)
javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js:1
↓ 15 callersMethodrequest
(long n)
javav2/example_code/transcribe-streaming/src/main/java/com/amazonaws/transcribestreaming/AudioStreamPublisher.java:51
↓ 15 callersMethodreset
()
javav2/usecases/resilient_service/src/main/java/com/example/resilient/ParameterHelper.java:18
↓ 15 callersMethodshutdown
(ShutdownInput shutdownInput)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/StreamsRecordProcessor.java:67
↓ 15 callersMethodwait
(self, cluster_name)
python/cross_service/aurora_rest_lending_library/rds_tools/aurora_tools.py:39
↓ 15 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/neptune/src/main/java/com/example/neptune/scenerio/NeptuneScenario.java:236
↓ 14 callersMethodAskInt
(question string, validators ...IAnswerValidator)
gov2/demotools/question.go:88
↓ 14 callersMethodPutObject
snippet-end:[gov2.s3.PresignGetObject] snippet-start:[gov2.s3.PresignPutObject] PutObject makes a presigned request that can be used to put an object
gov2/s3/actions/presigner.go:54
↓ 14 callersMethodallocate
Allocates an Elastic IP address that can be associated with an Amazon EC2 instance. By using an Elastic IP address, you can keep the
python/example_code/ec2/elastic_ip.py:57
↓ 14 callersMethodconfirm
* @param {{ message: string }} options
javascriptv3/example_code/libs/prompter.js:43
↓ 14 callersMethodgetAsyncClient
()
javav2/example_code/batch/src/main/java/com/example/batch/scenario/BatchActions.java:76
↓ 14 callersMethodgetClient
()
javav2/example_code/location/src/main/java/com/example/location/scenario/LocationActions.java:67
↓ 14 callersMethodgetCredentials
()
javav2/example_code/transcribe-streaming/src/main/java/com/amazonaws/transcribestreaming/TranscribeStreamingDemoApp.java:77
↓ 14 callersFunctiongetHtml
(template)
javascript/example_code/s3/s3_PhotoViewer.js:35
↓ 14 callersMethodgetItem
()
javav2/usecases/creating_lambda_ppe/src/main/java/com/example/ppe/Gear.java:48
↓ 14 callersMethodgetPolicy
Retrieves the policy for the specified Amazon S3 bucket. @param s3 the {@link S3Client} instance to use for making the request @param bucketName the
javav2/example_code/s3/src/main/java/com/example/s3/GetBucketPolicy.java:60
↓ 14 callersMethodin_range
Validate that the answer is within a range. The answer must be of a type that can be compared to the lower and upper bounds.
python/example_code/glue/question.py:118
↓ 14 callersFunctionlog
(msg)
javascriptv3/example_code/dynamodb/scenarios/partiql-batch.js:24
↓ 14 callersFunctionlog
(msg)
javascriptv3/example_code/dynamodb/scenarios/partiql-single.js:24
↓ 14 callersMethodput_object
Puts an object into a bucket. :param bucket_name: The name of the bucket. :param object_key: The key of the object. :
python/example_code/s3-directory-buckets/s3_express_wrapper.py:96
↓ 14 callersMethodquery
(String indexName)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/lowlevel/LowLevelLocalSecondaryIndexExample.java:138
↓ 14 callersMethodrun_scenario
Runs the IoT basics scenario. :param thing_name: The name of the thing to create. :param rule_name: The name of the topic ru
python/example_code/iot/scenario_iot_basics.py:95
↓ 14 callersMethodsave
(S item)
javav2/usecases/Creating_Spring_RDS_Rest/src/main/java/com/aws/rest/WorkItemRepository.java:52
↓ 14 callersMethodsetItem
(String item)
javav2/usecases/creating_lambda_ppe/src/main/java/com/example/ppe/Gear.java:52
↓ 14 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/glue/src/main/java/com/example/glue/scenario/GlueScenario.java:726
↓ 13 callersMethodListBuckets
snippet-end:[gov2.s3.BucketBasics.struct] snippet-start:[gov2.s3.ListBuckets] ListBuckets lists the buckets in the current account.
gov2/s3/actions/bucket_basics.go:39
↓ 13 callersMethodassert_no_pending_responses
When using stubs, verify no more responses are waiting in the queue.
python/test_tools/example_stubber.py:64
↓ 13 callersMethodcomplete
()
javav2/example_code/kinesis/src/main/java/com/example/kinesis/KinesisStreamEx.java:180
↓ 13 callersMethodcreateTopic
()
javascriptv3/example_code/cross-services/wkflw-topics-queues/TopicsQueuesWkflw.js:82
↓ 13 callersMethoddeactivate
(self)
python/test_tools/neptune_data_stubber.py:56
↓ 13 callersMethoddelete
Delete an activity. :param activity_arn: The ARN of the activity to delete.
python/example_code/stepfunctions/activities.py:136
↓ 13 callersMethoddeleteAllObjectsInDirectoryBucket
Deletes all objects in the specified S3 directory bucket. @param s3Client The S3 client used to interact with S3 @param bucketName The name of the
javav2/example_code/s3/src/main/java/com/example/s3/util/S3DirectoryBucketUtils.java:383
↓ 13 callersMethodget
Gets a list of work items or a single work item. :param iditem: When specified, the ID of a single item to retrieve. :param
python/cross_service/dynamodb_item_tracker/item_list.py:53
← previousnext →101–200 of 13,204, ranked by callers