tagResource

You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain. During the data ingestion process, you can add tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets. You can use these tags to identify a group of resources or a single resource used by the developer.

Samples


fun main() { 
   //sampleStart 
   // Successful TagResource
val resp = supplyChainClient.tagResource {
    resourceArn = "arn:aws:scn:us-east-1:123456789012:instance/8850c54e-e187-4fa7-89d4-6370f165174d/data-integration-flows/my_flow1"
    tags = mapOf<String, String>(
        "tagKey1" to "tagValue1"
    )
} 
   //sampleEnd
}