MCPcopy Create free account

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

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

↓ 9 callersMethodreceive_messages
Receive messages from an SQS queue. :param queue_url: The URL of the queue to receive messages from. :param max_messages: Ma
python/cross_service/topics_and_queues/sqs_wrapper.py:154
↓ 9 callersFunctionregisterType
(rawType,registeredInstance,options={})
javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js:1
↓ 9 callersMethodsetCategory
(String category)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/datamodeling/DynamoDBMapperTransactionExample.java:409
↓ 9 callersMethodsetup_stubs
(self, err, stop_on, sql, sql_params, report=None, **kwargs)
python/cross_service/aurora_item_tracker/test/test_app.py:64
↓ 9 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/s3/src/main/java/com/example/s3/batch/S3BatchScenario.java:219
↓ 9 callersMethodwaitForInputToContinue
(Scanner sc)
javav2/example_code/controltower/src/main/java/com/example/controltower/scenario/ControlTowerScenario.java:316
↓ 8 callersMethodCreateRole
snippet-end:[gov2.iam.ListRoles] snippet-start:[gov2.iam.CreateRole] CreateRole creates a role that trusts a specified user. The trusted user can assu
gov2/iam/actions/roles.go:52
↓ 8 callersMethodPause
(secs int)
gov2/demotools/pause.go:15
↓ 8 callersMethodPutItem
(input *dynamodb.PutItemInput)
go/dynamodb/LoadTableItems/LoadTableItems_test.go:26
↓ 8 callersMethodabortDirectoryBucketMultipartUploads
Aborts multipart uploads for the specified S3 directory bucket. @param s3Client The S3 client used to interact with S3 @param bucketName The name o
javav2/example_code/s3/src/main/java/com/example/s3/util/S3DirectoryBucketUtils.java:504
↓ 8 callersFunctionbuildStatementCommand
( sql: string, parameters?: { [key: string]: { [key: string]: unknown } }, )
javascriptv3/example_code/cross-services/aurora-serverless-app/src/statement-commands/command-helper.ts:6
↓ 8 callersMethodcheckObjectExists
Checks if the specified object exists in the given S3 directory bucket. @param s3Client The S3 client used to interact with S3 @param bucketName Th
javav2/example_code/s3/src/main/java/com/example/s3/util/S3DirectoryBucketUtils.java:343
↓ 8 callersFunctionclean_up
Deletes supplied files, if they exist. Removes any previous test run files.
python/example_code/rekognition/test/test_custom_labels_csv_to_manifest.py:14
↓ 8 callersMethodcreateBucket
(String bucket_name)
java/example_code/s3/src/main/java/aws/example/s3/CreateBucket.java:32
↓ 8 callersMethodcreateKey
(AppSyncClient appSyncClient, String apiId)
javav2/example_code/appsync/src/main/java/com/example/appsync/CreateApiKey.java:48
↓ 8 callersMethodcreatePolicy
(String policyName, String policyDocument)
javav2/usecases/resilient_service/src/main/java/com/example/resilient/LaunchTemplateCreator.java:189
↓ 8 callersMethoddeleteBucket
(S3Client s3Client, String bucketName)
javav2/example_code/cloudfront/src/test/java/S3TestUtils.java:74
↓ 8 callersMethoddescribeModel
Describes an Amazon Lookout for Vision model. @param lfvClient An Amazon Lookout for Vision client. @param projectName The name of the project th
javav2/example_code/lookoutvision/src/main/java/com/example/lookoutvision/Models.java:144
↓ 8 callersMethoddescribe_group
Gets information about an Auto Scaling group. :param group_name: The name of the group to look up. :return: A dictionary wit
python/example_code/auto-scaling/action_wrapper.py:168
↓ 8 callersMethoddetectLabels
(byte[] bytes, String key)
javav2/usecases/creating_lambda_ppe/src/main/java/com/example/ppe/AnalyzePhotos.java:23
↓ 8 callersMethoddrawLine
(Graphics2D g2d, String line, FontMetrics metrics, int yPos, Color color)
javav2/example_code/lookoutvision/src/main/java/com/example/lookoutvision/ShowAnomalies.java:107
↓ 8 callersMethodensureQueueExists
This method verifies that a message queue exists and creates it if necessary. The method checks for an existing queue first to optimize performance.
javav2/example_code/sqs-jms/src/main/java/com/example/sqs/jms/SqsJmsExampleUtils.java:40
↓ 8 callersMethodfrom_client
Creates a VpcWrapper instance with a default EC2 client. :return: An instance of VpcWrapper initialized with the default EC2 client.
python/example_code/ec2/vpc.py:28
↓ 8 callersMethodgetAsyncClient
()
javav2/example_code/opensearch/src/main/java/com/example/search/scenario/OpenSearchActions.java:43
↓ 8 callersMethodgetBody
()
javav2/example_code/sqs/src/main/java/com/example/sqs/SendRecvBatch.java:213
↓ 8 callersMethodgetChannel
()
javav2/usecases/video_analyzer_application/src/main/java/com/example/video/VideoDetectFaces.java:30
↓ 8 callersMethodgetIAMClient
()
javav2/usecases/resilient_service/src/main/java/com/example/resilient/LaunchTemplateCreator.java:57
↓ 8 callersMethodgetItemsDataSQLReport
(int flag)
javav2/usecases/Creating_rds_item_tracker/src/main/java/com/aws/rest/DatabaseService.java:73
↓ 8 callersMethodgetKeyName
()
javav2/example_code/s3/src/main/java/com/example/s3/lockscenario/S3InfoObject.java:20
↓ 8 callersMethodgetMessages
()
javav2/usecases/creating_message_application/src/main/java/com/example/sqs/SendReceiveMessages.java:60
↓ 8 callersMethodgetRegion
()
javav2/example_code/route53recoverycluster/src/main/java/com/example/route53recoverycluster/Endpoint.java:23
↓ 8 callersMethodgetUserName
()
javav2/example_code/redshift/src/main/java/com/example/redshift/User.java:16
↓ 8 callersMethodgetUsername
()
javav2/example_code/rds/src/main/java/com/example/rds/User.java:14
↓ 8 callersMethodhandle
* @param {Record<string, any>} state, * @param {StepHandlerOptions} [stepHandlerOptions]
javascriptv3/example_code/libs/scenario/scenario.js:43
↓ 8 callersFunctionhandler
(event)
javascriptv3/example_code/cross-services/lambda-for-browser/lambda/src/index.js:11
↓ 8 callersFunctionheader
Prints a header wrapped in full-screen rules.
python/example_code/s3/s3_versioning/batch_versioning.py:42
↓ 8 callersMethodinit
init initializes objects in the Resources struct.
gov2/workflows/s3_object_lock/workflows/resources.go:37
↓ 8 callersMethodlist_policies
Lists the names of the policies for a key. :param key_id: The ARN or ID of the key to query.
python/example_code/kms/key_policies.py:40
↓ 8 callersFunctionmake_event
Returns a function that makes an Amazon S3 batch event.
python/example_code/s3/s3_versioning/test/conftest.py:19
↓ 8 callersFunctionmake_result
Returns a function that makes an Amazon S3 batch result.
python/example_code/s3/s3_versioning/test/conftest.py:40
↓ 8 callersMethodpost
Gets a list of work items from storage, makes a report of them, and sends an email. The email is sent in both HTML and text format.
python/cross_service/aurora_item_tracker/report.py:90
↓ 8 callersMethodprepareApplication
Prepares the application by creating an email identity and a contact list.
javav2/example_code/ses/src/main/java/com/example/sesv2/NewsletterWorkflow.java:106
↓ 8 callersMethodput
Sets the value of a named Systems Manager parameter. :param name: The name of the parameter. :param value: The new value of
python/cross_service/resilient_service/parameters.py:45
↓ 8 callersMethodputObjectAsync
Uploads an object to an Amazon S3 bucket asynchronously. @param s3Client the S3 async client to use for the upload @param bucketName the destin
javav2/example_code/s3/src/main/java/com/example/s3/express/S3DirectoriesActions.java:372
↓ 8 callersMethodsetForumName
(String forumName)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/datamodeling/DynamoDBMapperTransactionExample.java:309
↓ 8 callersMethodsetName
(String name)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/datamodeling/DynamoDBMapperTransactionExample.java:400
↓ 8 callersMethodsetSubject
(String subject)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/datamodeling/DynamoDBMapperTransactionExample.java:319
↓ 8 callersFunctionsignInSocialProvider
(provider, flowType = 'enhanced')
python/example_code/cognito/scenarios/identity_pools_example_demo/web/frontend/js/auth-core.js:52
↓ 8 callersMethodstub_create_queue
(self, name, attributes, url, error_code=None)
python/test_tools/sqs_stubber.py:37
↓ 8 callersMethodstub_head_object
( self, bucket_name, object_key, obj_version_id=None, status_code=200,
python/test_tools/s3_stubber.py:277
↓ 8 callersFunctionupdateInfo
(info = "")
javascriptv3/example_code/cross-services/photo_analyzer/src/index.js:41
↓ 8 callersMethodwaitForInputToContinue
Waits for the user to enter 'c' followed by <ENTER> to continue the program. This method is used to pause the program execution and wait for user inpu
javav2/example_code/scheduler/src/main/java/com/example/eventbrideschedule/scenario/EventbridgeSchedulerScenario.java:225
↓ 8 callersMethodwait_for_input
Wait for user input to continue.
python/example_code/s3/scenarios/batch/s3_batch_scenario.py:52
↓ 8 callersFunctionwait_for_input_to_continue
()
python/example_code/neptune/neptune_scenario.py:578
↓ 7 callersMethodAskPassword
(question string, minLength int)
gov2/demotools/question.go:91
↓ 7 callersMethodAttachRolePolicy
(input *iam.AttachRolePolicyInput)
go/iam/AttachUserPolicy/AttachUserPolicy_test.go:20
↓ 7 callersMethodDeleteRole
snippet-end:[gov2.iam.ListRolePolicies] snippet-start:[gov2.iam.DeleteRole] DeleteRole deletes a role. All attached policies must be detached before a
gov2/iam/actions/roles.go:205
↓ 7 callersMethodadd_cors_headers
(self)
python/example_code/cognito/scenarios/identity_pools_example_demo/web/backend/oauth_server.py:149
↓ 7 callersMethodaskYesNo
(String msg)
javav2/example_code/controltower/src/main/java/com/example/controltower/scenario/ControlTowerScenario.java:67
↓ 7 callersMethodask_question
Asks a single question and validates it against a list of validators. When an answer fails validation, the complaint is printed and t
python/example_code/dynamodb/GettingStarted/question.py:46
↓ 7 callersMethodcreateBucket
(String bucketName, S3Client s3Client)
javav2/example_code/s3/src/main/java/com/example/s3/util/PresignUrlUtils.java:15
↓ 7 callersMethodcreateDirectoryBucketMultipartUpload
This method creates a multipart upload request that generates a unique upload ID used to track all the upload parts. @param s3Client The S3 client
javav2/example_code/s3/src/main/java/com/example/s3/util/S3DirectoryBucketUtils.java:540
↓ 7 callersMethodcreateTable
(DynamoDbClient ddb, String tableName, String key)
javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/CreateTable.java:65
↓ 7 callersMethodcreate_function
Deploys a Lambda function. :param function_name: The name of the Lambda function. :param handler_name: The fully qualified n
python/example_code/lambda/lambda_basics.py:145
↓ 7 callersMethoddeleteBucket
(S3Client s3Client, String bucketName)
javav2/example_code/s3/src/test/java/com/example/s3/DoesBucketExistTest.java:101
↓ 7 callersMethoddeleteBucket
(String bucketName, S3Client s3Client)
javav2/example_code/s3/src/main/java/com/example/s3/util/PresignUrlUtils.java:23
↓ 7 callersMethoddeleteItem
(AmazonDynamoDB dynamoDBClient, String tableName, String id)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/StreamsAdapterDemoHelper.java:103
↓ 7 callersMethoddelete_function
Deletes a Lambda function. :param function_name: The name of the function to delete.
python/example_code/lambda/lambda_basics.py:186
↓ 7 callersMethoddelete_key
Deletes a list of keys. Warning: Deleting a KMS key is a destructive and potentially dangerous operation. When a KMS key is
python/example_code/kms/key_management.py:190
↓ 7 callersMethoddemoChoices
(LoadBalancer loadBalancer)
javav2/usecases/resilient_service/src/main/java/com/example/resilient/Main.java:400
↓ 7 callersMethoddemo_choices
Presents choices for interacting with the deployed service, such as sending requests to the load balancer or checking the health of t
python/cross_service/resilient_service/runner.py:164
↓ 7 callersMethoddoesBucketExist
Checks if the specified bucket exists. Amazon S3 buckets are named in a global namespace; use this method to determine if a specified bucket name alre
javav2/example_code/s3/src/main/java/com/example/s3/DoesBucketExist.java:43
↓ 7 callersFunctionexitErrorf
snippet-start:[ec2.go.create_security_group.exit]
go/example_code/ec2/ec2_create_security_group.go:123
↓ 7 callersMethodextractDocument
* Calls Amazon Textract to extract data from an image. * * @param syncType: Indicates the type of API to call to perform the extraction. * @p
javascriptv3/example_code/cross-services/textract-react/src/TextractModel.js:270
↓ 7 callersMethodfetch
* * @param url to send the request, generated by this.url() * @param request fetch RequestInit options for the operation. * @returns a promis
resources/clients/react/elwing/src/plugins/item-tracker/RestService.ts:55
↓ 7 callersMethodgetBucketName
()
javav2/example_code/s3/src/main/java/com/example/s3/lockscenario/S3InfoObject.java:12
↓ 7 callersMethodgetData
(String arch)
javav2/usecases/CreatingSpringRedshiftRest/src/main/java/com/aws/rest/WorkItemRepository.java:46
↓ 7 callersFunctiongetFirstEntry
(input)
javascriptv3/example_code/libs/utils/util-csv.js:7
↓ 7 callersMethodgetPath
()
javav2/example_code/s3/src/test/java/S3ActionsTest.java:155
↓ 7 callersMethodgetRole
()
javav2/example_code/lambda/src/test/java/LambdaTest.java:138
↓ 7 callersMethodgetRules
(XRayClient xRayClient)
javav2/example_code/xray/src/main/java/com/example/xray/GetSamplingRules.java:36
↓ 7 callersMethodgetTableName
()
javav2/example_code/glue/src/test/java/GlueTest.java:281
↓ 7 callersFunctiongetWorkflowStages
(scenarios, initialState = {})
javascriptv3/example_code/s3/scenarios/object-locking/index.js:39
↓ 7 callersMethodget_notification_channel
Gets the role and topic ARNs that define the notification channel. :return: The notification channel data.
python/example_code/rekognition/rekognition_video_detection.py:150
↓ 7 callersMethodinvoke_flow
Invoke an Amazon Bedrock flow and handle the response stream. Args: param flow_id: The ID of the flow to invoke.
python/example_code/bedrock-agent-runtime/bedrock_agent_runtime_wrapper.py:72
↓ 7 callersMethodlistBucketsAndObjects
(List<String> bucketNames, Boolean interactive)
javav2/example_code/s3/src/main/java/com/example/s3/lockscenario/S3LockActions.java:137
↓ 7 callersMethodlistTables
(ListTablesResult result, String method)
java/example_code/dynamodb/src/test/java/com/amazonaws/services/dynamodbv2/DynamoDBLocalFixture.java:56
↓ 7 callersFunctionmake_collection
(rekognition_client)
python/example_code/rekognition/test/test_rekognition_collections.py:23
↓ 7 callersMethodmultipartUpload
Performs a multipart upload to an Amazon S3 bucket. @param bucketName the name of the S3 bucket to upload the file to @param key the key (name
javav2/example_code/s3/src/main/java/com/example/s3/scenario/S3Actions.java:252
↓ 7 callersFunctionpostfix
(source, str)
javascriptv3/example_code/libs/utils/util-string.js:32
↓ 7 callersMethodpublishMessages
()
javascriptv3/example_code/cross-services/wkflw-topics-queues/TopicsQueuesWkflw.js:268
↓ 7 callersMethodput
Archives a work item. :param args: The request body data, validated and transformed by the work item schema. :param iditem:
python/cross_service/aurora_item_tracker/item_list.py:104
↓ 7 callersMethodputEvents
(PersonalizeEventsClient personalizeEventsClient, String trackingId, String userId,
javav2/example_code/personalize/src/main/java/com/example/personalize/PutEvents.java:59
↓ 7 callersFunctionreplAction
(scenarios, client)
javascriptv3/example_code/s3/scenarios/object-locking/repl.steps.js:85
↓ 7 callersMethodrun
()
javascriptv3/example_code/sagemaker/scenarios/wkflw-sagemaker-geospatial-pipeline/SageMakerPipelinesWkflw.js:53
↓ 7 callersMethodrun
Retries the specified function with a simple exponential backoff algorithm. This is necessary when AWS is not yet ready to perform an
python/demo_tools/retries.py:41
↓ 7 callersMethodsendCouponNewsletter
Sends the coupon newsletter to the list of contacts.
javav2/example_code/ses/src/main/java/com/example/sesv2/NewsletterWorkflow.java:275
↓ 7 callersMethodsend_error_response
(self, status_code, message)
python/example_code/cognito/scenarios/identity_pools_example_demo/web/backend/oauth_server.py:542
↓ 7 callersMethodsubscribe
Subscribes an endpoint to the topic. Some endpoint types, such as email, must be confirmed before their subscriptions are active. Whe
python/example_code/sns/sns_basics.py:87
↓ 7 callersMethodtransformToByteArray
()
javascriptv3/example_code/medical-imaging/tests/get-image-frame.unit.test.js:24
← previousnext →301–400 of 13,204, ranked by callers