Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awsdocs/aws-doc-sdk-examples
/ functions
Functions
13,204 in github.com/awsdocs/aws-doc-sdk-examples
⨍
Functions
13,204
◇
Types & classes
2,744
↳
Endpoints
108
↓ 4 callers
Function
get_knowledge_base
Gets details about a specific knowledge base. Args: bedrock_agent_client: The Boto3 Bedrock Agent client. knowledge_base_id
python/example_code/bedrock-agent/knowledge_bases/knowledge_base.py:91
↓ 4 callers
Method
get_movies
Gets the title and year of the full list of movies from the table. :param table_name: The name of the movie table. :param wa
python/example_code/keyspaces/query.py:103
↓ 4 callers
Method
get_object
Gets an object from 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:180
↓ 4 callers
Function
get_subaddress_variants
Generates subaddress variants of a base email address. Args: base_email (str): The base email address. num_variants (int): T
python/example_code/sesv2/newsletter_scenario/newsletter.py:53
↓ 4 callers
Method
get_websocket_api_info
Gets data about a websocket API by name. This function scans API Gateway APIs in the current account and selects the first one that m
python/cross_service/apigateway_websocket_chat/websocket_chat.py:229
↓ 4 callers
Method
handleMessage
This method processes incoming messages and logs their content based on the message type. It supports text messages, binary data, and Java objects. @
javav2/example_code/sqs-jms/src/main/java/com/example/sqs/jms/SqsJmsExampleUtils.java:83
↓ 4 callers
Method
handlePreSignUpTriggerEvent
( event: PreSignUpTriggerEvent, )
javascriptv3/example_code/cross-services/wkflw-pools-triggers/cdk/lib/stack.AutoConfirmHandler.ts:24
↓ 4 callers
Function
handler
(event)
javascriptv3/example_code/lambda/guide_supplements/guide-cdk-lambda-function.js:84
↓ 4 callers
Method
hmac
(byte[] key, byte[]... inputs)
javav2/example_code/cognito/src/main/java/com/example/cognito/srp/utils/HashUtils.java:25
↓ 4 callers
Method
initiateAndInterruptMultiPartUpload
Multipart upload methods
javav2/example_code/s3/src/main/java/com/example/s3/AbortMultipartUploadExamples.java:196
↓ 4 callers
Method
invokeFunction
Invokes a specific AWS Lambda function. @param awsLambda an instance of {@link LambdaClient} to interact with the AWS Lambda service @param functi
javav2/example_code/lambda/src/main/java/com/example/lambda/scenario/LambdaScenario.java:249
↓ 4 callers
Method
invoke_function
Invokes a Lambda function. :param function_name: The name of the function to invoke. :param function_params: The parameters
python/example_code/lambda/lambda_basics.py:201
↓ 4 callers
Function
isFileURI
(filename)
javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js:1
↓ 4 callers
Method
list
Send a GET request to the collection root URL, retrieving a list of all items in the collection. Optionally include query parameters to narrow the req
resources/clients/react/elwing/src/plugins/item-tracker/RestService.ts:91
↓ 4 callers
Function
listAgentsWithPaginator
(region = "us-east-1")
javascriptv3/example_code/bedrock-agent/actions/list-agents.js:21
↓ 4 callers
Method
listFunctions
Lists the AWS Lambda functions associated with the current AWS account. @param awsLambda an instance of the {@link LambdaClient} class, which is used
javav2/example_code/lambda/src/main/java/com/example/lambda/scenario/LambdaScenario.java:227
↓ 4 callers
Method
listJobs
(GlueClient glueClient)
javav2/example_code/glue/src/main/java/com/example/glue/HelloGlue.java:22
↓ 4 callers
Method
listModels
Lists the models in an Amazon Lookout for Vision project. @param lfvClient An Amazon Lookout for Vision client. @param projectName The name of the
javav2/example_code/lookoutvision/src/main/java/com/example/lookoutvision/Models.java:176
↓ 4 callers
Method
listNamedQueries
(AthenaClient athenaClient)
javav2/example_code/athena/src/main/java/aws/example/athena/ListNamedQueryExample.java:37
↓ 4 callers
Method
listPolicies
(IamClient iam)
javav2/example_code/iam/src/main/java/com/example/iam/HelloIAM.java:31
↓ 4 callers
Function
listTagsForResource
( resourceArn = "arn:aws:medical-imaging:us-east-1:abc:datastore/def/imageset/ghi", )
javascriptv3/example_code/medical-imaging/actions/list-tags-for-resource.js:13
↓ 4 callers
Function
listUsers
()
javascriptv3/example_code/iam/actions/list-users.js:11
↓ 4 callers
Method
list_databases
Lists databases in a cluster. :param cluster_identifier: The cluster identifier. :param database_name: The database name.
python/example_code/redshift/redshift_data.py:28
↓ 4 callers
Method
list_foundation_models
List the available Amazon Bedrock foundation models. :return: The list of available bedrock foundation models.
python/example_code/bedrock/bedrock_wrapper.py:54
↓ 4 callers
Method
list_jobs
Lists jobs by type for the specified vault. :param vault: The vault to query. :param job_type: The type of job to list.
python/example_code/glacier/glacier_basics.py:123
↓ 4 callers
Method
list_jobs
Lists the names of job definitions in your account. :return: The list of job definition names.
python/example_code/glue/glue_wrapper.py:236
↓ 4 callers
Function
list_knowledge_bases
Lists the knowledge bases in your AWS account. Args: bedrock_agent_client: The Boto3 Bedrock Agent client. max_results (int,
python/example_code/bedrock-agent/knowledge_bases/knowledge_base.py:200
↓ 4 callers
Method
list_runs
Lists the runs for the state machine. :param run_status: When specified, only lists runs that have the specified
python/cross_service/stepfunctions_messenger/stepfunctions_statemachine.py:189
↓ 4 callers
Method
list_tags_for_resource
List the tags for a resource. :param resource_arn: The ARN of the resource. :return: The list of tags.
python/example_code/medical-imaging/medical_imaging_basics.py:557
↓ 4 callers
Function
makeClassHandle
(prototype,record)
javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js:1
↓ 4 callers
Function
makeCleanUpDatabasesStep
({ getDatabases, deleteDatabase })
javascriptv3/example_code/glue/scenarios/basic/steps/clean-up-databases.js:23
↓ 4 callers
Function
makeCreateCrawlerStep
(actions)
javascriptv3/example_code/glue/scenarios/basic/steps/create-crawler.js:18
↓ 4 callers
Method
makeReplyKeyConditions
A simple helper function that returns a KeyCondition map filled in with the partition key equality condition for a the Reply example table, given a fo
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/lowlevel/LowLevelQuery.java:154
↓ 4 callers
Function
make_test_vocabulary
(index, phrases=False, table_uri=False)
python/example_code/transcribe/test/test_transcribe_basics.py:25
↓ 4 callers
Method
multipartUploadForDirectoryBucket
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/util/S3DirectoryBucketUtils.java:573
↓ 4 callers
Method
onNext
(DescribeDbClustersResponse response)
javav2/example_code/neptune/src/main/java/com/example/neptune/HelloNeptune.java:52
↓ 4 callers
Method
prerequisites
Finds or creates an IAM role that can be assumed by Step Functions. A role of this kind is required to create a state machine.
python/example_code/stepfunctions/get_started_state_machines.py:50
↓ 4 callers
Method
printResponse
(JSONObject response)
javav2/example_code/bedrock-runtime/src/main/java/com/example/bedrockruntime/libs/demo/Utils.java:43
↓ 4 callers
Method
publish_message
Publishes a message, with attributes, to a topic. Subscriptions can be filtered based on message attributes so that a subscription re
python/example_code/sns/sns_basics.py:207
↓ 4 callers
Method
put
Updates or archives a work item. :param args: The request body data, validated and transformed by the work item schema. :par
python/cross_service/dynamodb_item_tracker/item_list.py:96
↓ 4 callers
Method
putDirectoryBucketObject
Puts an object into the specified S3 directory bucket. @param s3Client The S3 client used to interact with S3 @param bucketName The name of the dir
javav2/example_code/s3/src/main/java/com/example/s3/util/S3DirectoryBucketUtils.java:292
↓ 4 callers
Method
reasoning
()
javav2/example_code/bedrock-runtime/src/main/java/com/example/bedrockruntime/models/anthropicClaude/Reasoning.java:28
↓ 4 callers
Method
receiveMessageExplicitAckSync
(SQSConnection connection, Session session, Queue queue)
javav2/example_code/sqs-jms/src/main/java/com/example/sqs/jms/basic/JmsSqsSyncStandard.java:170
↓ 4 callers
Method
remove
Removes a certificate. :param certificate_arn: The ARN of the certificate to remove.
python/example_code/acm/certificate_basics.py:153
↓ 4 callers
Method
return_book
Returns a book to the library by updating the record in the Lending table so that its Returned column contains the current date.
python/cross_service/aurora_rest_lending_library/library_api/chalicelib/library_data.py:552
↓ 4 callers
Method
run
()
javav2/example_code/controltower/src/main/java/com/example/controltower/scenario/ControlTowerActions.java:522
↓ 4 callers
Method
run_partiql
Runs a PartiQL statement. A Boto3 resource is used even though `execute_statement` is called on the underlying `client` object becaus
python/example_code/dynamodb/partiql/scenario_partiql_batch.py:45
↓ 4 callers
Method
scheduleKeyDeletion
Schedules the deletion of the specified customer managed key (CMK). @param kmsClient The KMS client used to interact with KMS @param keyId
javav2/example_code/s3/src/main/java/com/example/s3/util/S3DirectoryBucketUtils.java:467
↓ 4 callers
Method
searchMedicalImagingImageSets
( MedicalImagingClient medicalImagingClient, String datastoreId, SearchCriteria search
javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/SearchImageSets.java:183
↓ 4 callers
Method
search_image_sets
Search for image sets. :param datastore_id: The ID of the data store. :param search_filter: The search filter. F
python/example_code/medical-imaging/medical_imaging_basics.py:212
↓ 4 callers
Method
sendAMessageAsync
This method creates a background task that sends multiple messages to a specified queue after waiting for a set time period. The task operates indepen
javav2/example_code/sqs-jms/src/main/java/com/example/sqs/jms/SqsJmsExampleUtils.java:183
↓ 4 callers
Method
send_coupon_newsletter
Sends the coupon newsletter to the subscribers.
python/example_code/sesv2/newsletter_scenario/newsletter.py:193
↓ 4 callers
Function
separator
Logs a separator line. :param char: The character to use for the separator line.
python/example_code/bedrock-runtime/cross-model-scenarios/tool_use_demo/utils/tool_use_print_utils.py:81
↓ 4 callers
Method
setArchived
(int archived)
javav2/usecases/creating_dynamodb_web_app/src/main/java/com/aws/rest/WorkItem.java:20
↓ 4 callers
Method
setAttribute
(String attribute)
javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/enhanced/EnhancedTableSchema.java:120
↓ 4 callers
Method
setCustName
(String name)
javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/Customer.java:37
↓ 4 callers
Method
setDate
(String date)
javav2/usecases/creating_dynamodb_web_app/src/main/java/com/aws/rest/WorkItem.java:48
↓ 4 callers
Method
setDescription
(String description)
javav2/usecases/creating_dynamodb_web_app/src/main/java/com/aws/rest/WorkItem.java:40
↓ 4 callers
Function
setEnv
(/** @type {string} */ key, value)
javascriptv3/example_code/libs/utils/util-node.js:6
↓ 4 callers
Method
setGuide
(String guide)
javav2/usecases/creating_dynamodb_web_app/src/main/java/com/aws/rest/WorkItem.java:64
↓ 4 callers
Method
setId
(String id)
javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/Customer.java:28
↓ 4 callers
Method
setId
(String id)
javav2/usecases/creating_dynamodb_web_app/src/main/java/com/aws/rest/WorkItem.java:24
↓ 4 callers
Method
setName
(String name)
javav2/usecases/creating_dynamodb_web_app/src/main/java/com/aws/rest/WorkItem.java:56
↓ 4 callers
Method
setName
(String name)
java/example_code/dynamodb/src/main/java/com/amazonaws/codesamples/datamodeling/DynamoDBMapperQueryScanExample.java:495
↓ 4 callers
Method
setRegistrationDate
(Instant registrationDate)
javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/Customer.java:54
↓ 4 callers
Method
setStatus
(String status)
javav2/usecases/creating_dynamodb_web_app/src/main/java/com/aws/rest/WorkItem.java:32
↓ 4 callers
Function
showAuthSuccessWithOptions
(result, provider)
python/example_code/cognito/scenarios/identity_pools_example_demo/web/frontend/js/ui-display.js:527
↓ 4 callers
Method
showCompletedFlow
(realResult)
python/example_code/cognito/scenarios/identity_pools_example_demo/web/frontend/js/flow-visualizer.js:161
↓ 4 callers
Function
show_bounding_boxes
Draws bounding boxes on an image and shows it with the default image viewer. :param image_bytes: The image to draw, as bytes. :param box
python/example_code/rekognition/rekognition_objects.py:23
↓ 4 callers
Function
sign
(key, msg)
python/example_code/signv4/v4-signing-get-authheader.py:37
↓ 4 callers
Function
sign
(key, msg)
python/example_code/signv4/v4-signing-get-post.py:52
↓ 4 callers
Function
sign
(key, msg)
python/example_code/signv4/v4-signing-get-querystring.py:36
↓ 4 callers
Function
splitMapTrim
(delimiter, input)
javascriptv3/example_code/libs/utils/util-string.js:61
↓ 4 callers
Method
start
Starts an application. After the application is running, it reads from the specified input stream and runs the application code on th
python/example_code/kinesis-analytics-v2/analytics_application.py:366
↓ 4 callers
Method
startFaceDetection
(RekognitionClient rekClient, NotificationChannel channel, String bucket,
javav2/example_code/rekognition/src/main/java/com/example/rekognition/VideoDetectFaces.java:63
↓ 4 callers
Method
start_run
Starts a run with the current state definition. :param run_name: The name of the run. This name must be unique for all runs
python/cross_service/stepfunctions_messenger/stepfunctions_statemachine.py:165
↓ 4 callers
Method
stub_delete_message
( self, url, message=None, receipt_handle=None, error_code=None )
python/test_tools/sqs_stubber.py:158
↓ 4 callers
Method
stub_delete_role
(self, role_name, error_code=None)
python/test_tools/iam_stubber.py:140
↓ 4 callers
Method
stub_list_attached_role_policies
( self, role_name, policies=None, error_code=None )
python/test_tools/iam_stubber.py:267
↓ 4 callers
Method
stub_list_buckets
(self, buckets, error_code=None)
python/test_tools/s3_stubber.py:75
↓ 4 callers
Method
stub_list_objects
( self, bucket_name, object_keys=None, prefix=None, delimiter=None,
python/test_tools/s3_stubber.py:308
↓ 4 callers
Method
stub_publish
( self, message, message_id, topic_arn=None, phone_number=None,
python/test_tools/sns_stubber.py:120
↓ 4 callers
Method
stub_put_item
(self, table_name, item, http_status=200, error_code=None)
python/test_tools/dynamodb_stubber.py:127
↓ 4 callers
Method
stub_put_record
(self, stream, data, partition_key, error_code=None)
python/test_tools/kinesis_stubber.py:64
↓ 4 callers
Method
stub_send_message_batch
(self, url, messages, error_code=None)
python/test_tools/sqs_stubber.py:97
↓ 4 callers
Method
stub_verify_domain_identity
(self, domain_name, token, error_code=None)
python/test_tools/ses_stubber.py:32
↓ 4 callers
Method
stub_verify_email_identity
(self, email_address, error_code=None)
python/test_tools/ses_stubber.py:39
↓ 4 callers
Function
tagResource
( resourceArn = "arn:aws:medical-imaging:us-east-1:xxxxxx:datastore/xxxxx/imageset/xxx", tags = {}, )
javascriptv3/example_code/medical-imaging/actions/tag-resource.js:15
↓ 4 callers
Method
tag_resource
Tag a resource. :param resource_arn: The ARN of the resource. :param tags: The tags to apply.
python/example_code/medical-imaging/medical_imaging_basics.py:515
↓ 4 callers
Method
terminate_instance
Stops an instance. :param instance_id: The ID of the instance to stop. :param decrease_capacity: Specifies whether to decrea
python/example_code/auto-scaling/action_wrapper.py:205
↓ 4 callers
Function
throwInternalError
(message)
javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js:1
↓ 4 callers
Function
throwUnboundTypeError
(message,types)
javascriptv3/example_code/medical-imaging/scenarios/health-image-sets/pixel-data-verification/openjphjs/openjphjs.js:1
↓ 4 callers
Method
to_service_format
:return: The destination data in the format expected by Amazon SES.
python/example_code/ses/ses_email.py:38
↓ 4 callers
Function
unpack_query_results
Unpacks the result of a SELECT query into a list of Python dicts. :param columns: The columns that map to the fields in each result record.
python/cross_service/aurora_rest_lending_library/library_api/chalicelib/mysql_helper.py:242
↓ 4 callers
Function
untagResource
( resourceArn = "arn:aws:medical-imaging:us-east-1:xxxxxx:datastore/xxxxx/imageset/xxx", tagKeys = [], )
javascriptv3/example_code/medical-imaging/actions/untag-resource.js:14
↓ 4 callers
Method
untag_resource
Untag a resource. :param resource_arn: The ARN of the resource. :param tag_keys: The tag keys to remove.
python/example_code/medical-imaging/medical_imaging_basics.py:535
↓ 4 callers
Method
updateMedicalImageSetMetadata
Update the metadata of an AWS HealthImaging image set. @param medicalImagingClient - The AWS HealthImaging client object. @param datastoreId
javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/UpdateImageSetMetadata.java:176
↓ 4 callers
Method
updateShadowThing
Updates the shadow of an IoT Thing asynchronously. @param thingName The name of the IoT Thing. This method initiates an asynchronous request to upda
javav2/example_code/iot/src/main/java/com/example/iot/scenario/IotActions.java:277
↓ 4 callers
Method
update_function_code
Updates the code for a Lambda function by submitting a .zip archive that contains the code for the function. :param function
python/example_code/lambda/lambda_basics.py:227
↓ 4 callers
Method
update_group
Updates an Auto Scaling group. :param group_name: The name of the group to update. :param kwargs: Keyword arguments to pass
python/example_code/auto-scaling/action_wrapper.py:93
← previous
next →
801–900 of 13,204, ranked by callers