MCPcopy Create free account

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

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

↓ 7 callersMethodunsubscribe
Unsubscribe from an SNS topic. :param subscription_arn: The ARN of the subscription to remove. :return: True if successful.
python/cross_service/topics_and_queues/sns_wrapper.py:181
↓ 7 callersMethodupdate_image_set_metadata
Update the metadata of an image set. :param datastore_id: The ID of the data store. :param image_set_id: The ID of the image
python/example_code/medical-imaging/medical_imaging_basics.py:382
↓ 7 callersMethodupload
(byte[] bytes, String name)
javav2/usecases/pam_source_files/src/main/java/com/example/photo/endpoints/UploadEndpoint.java:36
↓ 7 callersFunctionusage
snippet-end:[cloudtrail.go.list_trail_events] usage displays information on using this app Inputs: none Output: none
go/cloudtrail/cloudtrailOps.go:312
↓ 7 callersMethodwaitForInputToContinue
(Scanner scanner)
javav2/example_code/s3/src/main/java/com/example/s3/replication/BucketReplication.java:365
↓ 7 callersFunctionwhenDependentTypesAreResolved
(myTypes,dependentTypes,getTypeConverters)
javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js:1
↓ 6 callersMethodCreatePolicy
(input *iam.CreatePolicyInput)
go/iam/CreatePolicy/CreatePolicy_test.go:20
↓ 6 callersMethodGetBucketAcl
(input *s3.GetBucketAclInput)
go/s3/CRUD/S3CrudOps_test.go:44
↓ 6 callersMethodListTables
snippet-end:[gov2.dynamodb.CreateTable] snippet-start:[gov2.dynamodb.ListTables] ListTables lists the DynamoDB table names for the current account.
gov2/dynamodb/actions/table_basics.go:100
↓ 6 callersMethodNext
Next returns the next answer in the slice of answers.
gov2/demotools/mocks.go:20
↓ 6 callersMethodPutBucketAcl
(input *s3.PutBucketAclInput)
go/s3/CRUD/S3CrudOps_test.go:79
↓ 6 callersMethodUniqueId
()
gov2/rds/scenarios/get_started_instances.go:328
↓ 6 callersMethodaddCaption
(WritableSheet sheet, int column, int row, String s)
javav2/usecases/video_analyzer_application/src/main/java/com/example/video/WriteExcel.java:128
↓ 6 callersMethodaddLabel
(WritableSheet sheet, int column, int row, String s)
javav2/usecases/video_analyzer_application/src/main/java/com/example/video/WriteExcel.java:145
↓ 6 callersFunctioncheck_instance_status
Polls the status of a Neptune DB instance until it reaches desired_status. Uses pagination via describe_db_instances — even for a single inst
python/example_code/neptune/neptune_scenario.py:361
↓ 6 callersFunctioncheck_params
(respond=False)
python/cross_service/apigateway_covid-19_tracker/test/test_app.py:37
↓ 6 callersMethodcleanUp
Cleans up the resources created during the workflow.
javav2/example_code/ses/src/main/java/com/example/sesv2/NewsletterWorkflow.java:358
↓ 6 callersMethodcleanup
Delete resources created by this scenario.
python/example_code/s3-directory-buckets/s3_express_getting_started.py:414
↓ 6 callersMethodclose
(Connection connection)
javav2/usecases/Creating_rds_item_tracker/src/main/java/com/aws/rest/ConnectionHelper.java:24
↓ 6 callersMethodcomplete
()
javav2/example_code/bedrock-agents-runtime/src/main/java/com/example/bedrockagents/runtime/InvokeFlow.java:101
↓ 6 callersMethodconverseStream
()
javav2/example_code/bedrock-runtime/src/main/java/com/example/bedrockruntime/models/amazon/nova/text/ConverseStream.java:27
↓ 6 callersMethodconvert_unix_timestamp_to_iso8601
Converts a UNIX timestamp in milliseconds to a date string in the specified format. :param unix_timestamp: UNIX timestamp in millise
python/example_code/cloudwatch-logs/scenarios/large-query/date_utilities.py:87
↓ 6 callersMethodcopyObject
(S3TransferManager transferManager, String bucketName, String key, String destinationBucket, Strin
javav2/example_code/s3/src/main/java/com/example/s3/transfermanager/ObjectCopy.java:54
↓ 6 callersMethodcreate
Create an OpsItem :param title: The OpsItem title. :param source: The OpsItem source. :param category: The OpsItem c
python/example_code/ssm/ops_item.py:35
↓ 6 callersMethodcreateClient
()
java/example_code/athena/src/main/java/aws/example/athena/AthenaClientFactory.java:29
↓ 6 callersFunctioncreateTemplate
(templateName)
javascriptv3/example_code/ses/src/libs/sesUtils.js:66
↓ 6 callersMethodcreateUser
(IdentitystoreClient identitystore, String identitystoreId, String userName, String givenName, Str
javav2/example_code/identitystore/src/main/java/com/example/identitystore/CreateUser.java:53
↓ 6 callersMethodcreate_rest_api
Creates a REST API on API Gateway. The default API has only a root resource and no HTTP methods. :param api_name: The name o
python/example_code/api-gateway/aws_service/aws_service.py:44
↓ 6 callersMethoddeleteTable
(String tableName)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/lowlevel/LowLevelLocalSecondaryIndexExample.java:200
↓ 6 callersFunctiondeleteTemplate
(templateName)
javascriptv3/example_code/ses/src/libs/sesUtils.js:103
↓ 6 callersMethoddeleteTopic
(String topicArn)
javav2/example_code/sns/src/main/java/com/example/sns/PriceUpdateExample.java:229
↓ 6 callersMethoddeleteUser
(IdentitystoreClient identitystore, String identitystoreId, String userId)
javav2/example_code/identitystore/src/main/java/com/example/identitystore/DeleteUser.java:47
↓ 6 callersMethoddelete_rest_api
Deletes a REST API, including all of its resources and configuration.
python/example_code/api-gateway/aws_service/aws_service.py:261
↓ 6 callersMethoddescribeAutoScalingGroups
(AutoScalingClient autoScalingClient, String groupName)
javav2/example_code/autoscale/src/main/java/com/example/autoscaling/scenario/AutoScalingScenario.java:371
↓ 6 callersMethoddescribeDataset
Gets the description for a Amazon Lookout for Vision dataset. @param lfvClient An Amazon Lookout for Vision client. @param projectName The name of
javav2/example_code/lookoutvision/src/main/java/com/example/lookoutvision/Datasets.java:232
↓ 6 callersMethoddescribeInstances
(RdsClient rdsClient)
javav2/example_code/rds/src/main/java/com/example/rds/DescribeDBInstances.java:36
↓ 6 callersMethoddestroy
Destroys all resources created for the demo, including the load balancer, Auto Scaling group, EC2 instances, and DynamoDB table.
python/cross_service/resilient_service/runner.py:286
↓ 6 callersMethoddetect_labels
Detects labels in the image. Labels are objects and people. :param max_labels: The maximum number of labels to return. :retu
python/example_code/rekognition/rekognition_image_detection.py:157
↓ 6 callersMethodencrypt
Encrypts text by using the specified key. :param key_id: The ARN or ID of the key to use for encryption. :param text: The te
python/example_code/kms/key_encryption.py:38
↓ 6 callersMethodenhanced_flow_authenticated
Implements authenticated access using Enhanced Flow. Args: provider_type (str): Identity provider (e.g., 'Google', 'User
python/example_code/cognito/scenarios/identity_pools_example_demo/web/backend/routes/auth_flows/enhanced_flow.py:147
↓ 6 callersFunctionexecute_gremlin_query
Executes a Gremlin query using the provided Neptune Data client.
python/example_code/neptune/database/neptune_execute_gremlin_query.py:26
↓ 6 callersFunctionexecute_open_cypher_explain_query
Runs an OpenCypher EXPLAIN query in debug mode.
python/example_code/neptune/database/neptune_execute_open_cypher_query.py:77
↓ 6 callersFunctionexpectToBeANonEmptyString
(string)
javascriptv3/example_code/bedrock-runtime/tests/test_tools.js:11
↓ 6 callersMethodfindAllWithStatus
(String status)
javav2/usecases/Creating_Spring_RDS_Rest/src/main/java/com/aws/rest/WorkItemRepository.java:134
↓ 6 callersMethodfrom_client
Creates an SESv2Wrapper instance with a default Boto3 SESv2 client. :return: A new SESv2Wrapper instance.
python/example_code/sesv2/attachments_scenario/sesv2_wrapper.py:31
↓ 6 callersMethodfrom_client
:return: A OpsItemWrapper instance.
python/example_code/ssm/ops_item.py:25
↓ 6 callersMethodfrom_file
Creates a RekognitionImage object from a local file. :param image_file_name: The file name of the image. The file is opened and its
python/example_code/rekognition/rekognition_image_detection.py:61
↓ 6 callersMethodgetAsyncDataClient
()
javav2/example_code/redshift/src/main/java/com/example/redshift/scenario/RedshiftActions.java:77
↓ 6 callersMethodgetBucketAcl
(String bucket_name)
java/example_code/s3/src/main/java/aws/example/s3/GetAcl.java:21
↓ 6 callersMethodgetCardText
(String bucketName, String obName)
javav2/usecases/creating_fsa_app/src/main/java/com/example/fsa/services/ExtractTextService.java:32
↓ 6 callersMethodgetChoiceResponse
(String question, String[] choices)
javav2/example_code/s3/src/main/java/com/example/s3/lockscenario/S3ObjectLockWorkflow.java:340
↓ 6 callersMethodgetCloudFormationClient
()
javav2/example_code/entityresolution/src/main/java/com/example/entity/scenario/CloudFormationHelper.java:43
↓ 6 callersMethodgetCloudFormationClient
()
javav2/example_code/s3/src/main/java/com/example/s3/express/CloudFormationHelper.java:38
↓ 6 callersMethodgetCloudFormationClient
()
javav2/example_code/iotsitewise/src/main/java/com/example/iotsitewise/scenario/CloudFormationHelper.java:38
↓ 6 callersMethodgetCloudFormationClient
()
javav2/example_code/autoscale/src/main/java/com/example/autoscaling/scenario/CloudFormationHelper.java:39
↓ 6 callersMethodgetCloudFormationClient
()
javav2/example_code/ssm/src/main/java/com/example/scenario/CloudFormationHelper.java:39
↓ 6 callersMethodgetEc2AsyncClient
()
javav2/example_code/s3/src/main/java/com/example/s3/express/S3DirectoriesActions.java:100
↓ 6 callersMethodgetFullFilePath
(String filePath)
javav2/example_code/s3/src/main/java/com/example/s3/BasicOpsWithChecksums.java:70
↓ 6 callersMethodgetPassword
()
javav2/example_code/rds/src/main/java/com/example/rds/User.java:18
↓ 6 callersMethodgetS3AsyncClient
()
javav2/example_code/s3/src/main/java/com/example/s3/batch/S3BatchActions.java:119
↓ 6 callersMethodgetSize
()
javav2/usecases/creating_lambda_tag_assets/src/main/java/com/example/tags/BucketItem.java:17
↓ 6 callersMethodgetUsers
(ConnectClient connectClient, String instanceId)
javav2/example_code/connect/src/main/java/com/example/connect/ListUsers.java:49
↓ 6 callersMethodget_table
Gets data about a table in the keyspace. :param table_name: The name of the table to look up. :return: Data about the table.
python/example_code/keyspaces/keyspace.py:148
↓ 6 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/dynamodb/GettingStarted/question.py:118
↓ 6 callersMethodlistQueues
(SqsClient sqsClient)
javav2/example_code/sqs/src/main/java/com/example/sqs/HelloSQS.java:30
↓ 6 callersMethodmain
(String[] args)
java/example_code/sns/PublishSmsToTopic.java:6
↓ 6 callersFunctionmake_table
()
python/cross_service/aurora_rest_lending_library/library_api/test/test_mysql_helper.py:14
↓ 6 callersMethodmultipartUploadForDirectoryBucket
This method creates part requests and uploads individual parts to S3. While it uses the UploadPart API to upload a single part, it does so sequentiall
javav2/example_code/s3/src/main/java/com/example/s3/directorybucket/UploadPartForDirectoryBucket.java:77
↓ 6 callersMethodprepare_application
Prepares the application by creating an email identity and a contact list.
python/example_code/sesv2/newsletter_scenario/newsletter.py:84
↓ 6 callersMethodreport
(HttpServletRequest request, HttpServletResponse response)
javav2/usecases/video_analyzer_application/src/main/java/com/example/video/VideoController.java:76
↓ 6 callersFunctionrun_profile_query
Runs a PROFILE query on the Neptune graph database.
python/example_code/neptune/database/neptune_execute_gremlin_profile_query.py:48
↓ 6 callersMethodselect
* @param {{ message: string, choices: { name: string, value: string }[]}} options
javascriptv3/example_code/libs/prompter.js:11
↓ 6 callersMethodsend_email
Sends an email. Note: If your account is in the Amazon SES sandbox, the source and destination email accounts must both be
python/example_code/ses/ses_email.py:66
↓ 6 callersMethodsend_email
Sends a simple email message with optional attachments. SES handles MIME construction automatically when using attachments w
python/example_code/sesv2/attachments_scenario/sesv2_wrapper.py:156
↓ 6 callersMethodsend_error_redirect
(self, error_msg)
python/example_code/cognito/scenarios/identity_pools_example_demo/web/backend/oauth_server.py:155
↓ 6 callersMethodsetup
Sets up a key for the demo. Either creates a new key or uses one supplied by the user. :return: The ARN or ID of the key to
python/example_code/kms/alias_management.py:39
↓ 6 callersMethodshowTransferProgress
(Transfer xfer)
java/example_code/s3/src/main/java/aws/example/s3/XferMgrProgress.java:39
↓ 6 callersFunctionstatus_poller
Polls a function for status, sleeping for 10 seconds between each query, until the specified status is returned. :param intro: An introd
python/example_code/emr/emr_usage_demo.py:35
↓ 6 callersMethodstop
Stops instances and waits for them to be in a stopped state. :return: The response to the stop request, or None if there are no inst
python/example_code/ec2/instance.py:222
↓ 6 callersMethodstub_attach_role_policy
(self, role_name, policy_arn, error_code=None)
python/test_tools/iam_stubber.py:261
↓ 6 callersMethodstub_get_object
Stub the get_object function. When the object data is a string, treat it as a file name, open the file, and read it as bytes.
python/test_tools/s3_stubber.py:236
↓ 6 callersMethodstub_get_policy
( self, policy_arn, default_version_id=None, status_code=200, error_code=None )
python/test_tools/iam_stubber.py:163
↓ 6 callersMethodstub_list_object_versions
( self, bucket_name, prefix=None, versions=None, delete_markers=None,
python/test_tools/s3_stubber.py:428
↓ 6 callersMethodstub_put_object
( self, bucket_name, object_key, body=ANY, e_tag=None, error_code=None )
python/test_tools/s3_stubber.py:225
↓ 6 callersMethodsubscribe
* Subscribes the caller to be informed of data changes. * * @param onChange: A function that is called when data changes.
javascriptv3/example_code/cross-services/textract-react/src/TextractModel.js:69
↓ 6 callersMethodtag_commits
(self, commits)
python/example_code/codecommit/push-in-parts.py:174
↓ 6 callersMethodteardown
Deletes any resources that were created for the demo.
python/example_code/kms/alias_management.py:67
↓ 6 callersMethodto_dict
Renders parts of the collection data to a dict. :return: The collection data as a dict.
python/example_code/rekognition/rekognition_collections.py:68
↓ 6 callersMethodupdateTable
(TimestreamWriteClient timestreamWriteClient, String dbName, String tableName)
javav2/example_code/timestream/src/main/java/com/timestream/write/UpdateTable.java:54
↓ 6 callersMethoduseSignedResource
(SdkHttpRequest httpGetRequest)
javav2/example_code/cloudfront/src/test/java/CloudFrontSigningTest.java:236
↓ 6 callersMethodverify
Verifies a signature against a message. :param key_id: The ARN or ID of the key used to sign the message. :param message: Th
python/example_code/kms/key_encryption.py:148
↓ 6 callersFunctionwrapText
(text, char = "=")
javascriptv3/example_code/support/scenarios/basic.js:21
↓ 5 callersMethodAsk
Ask asks the specified question at a command prompt and validates the answer with the specified set of validators. If the answer fails validation, the
gov2/demotools/question.go:110
↓ 5 callersMethodDeleteObject
snippet-end:[gov2.s3.PresignPutObject] snippet-start:[gov2.s3.PresignDeleteObject] DeleteObject makes a presigned request that can be used to delete a
gov2/s3/actions/presigner.go:74
↓ 5 callersMethodDescribeDBSnapshots
(input *rds.DescribeDBSnapshotsInput)
go/rds/CopySnapshotToS3/CopySnapshotToS3_test.go:22
↓ 5 callersMethodDetachRolePolicy
(input *iam.DetachRolePolicyInput)
go/iam/DetachUserPolicy/DetachUserPolicy_test.go:20
↓ 5 callersMethodGetItem
(input *dynamodb.GetItemInput)
go/dynamodb/GetItem/GetItem_test.go:25
↓ 5 callersMethodGetObject
snippet-end:[gov2.Presigner.struct] snippet-start:[gov2.s3.PresignGetObject] GetObject makes a presigned request that can be used to get an object fro
gov2/s3/actions/presigner.go:33
↓ 5 callersFunctionNewScenarioHelper
NewScenarioHelper constructs a new scenario helper.
gov2/workflows/user_pools_and_lambda_triggers/workflows/scenario_common.go:42
↓ 5 callersMethodScan
snippet-end:[gov2.dynamodb.Query] snippet-start:[gov2.dynamodb.Scan] Scan gets all movies in the DynamoDB table that were released in a range of years
gov2/dynamodb/actions/table_basics.go:289
← previousnext →401–500 of 13,204, ranked by callers