Values.CreateAppVersionResourceRequestSourceAdds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component. This action has no effect outside Resilience Hub. This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.
type nonrec t = {additionalInfo : AdditionalInfoMap.t option;Currently, there is no supported additional information for resources.
*)appArn : Arn.t;Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
*)appComponents : AppComponentNameList.t;List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.
*)awsAccountId : CustomerId.t option;Amazon Web Services account that owns the physical resource.
*)awsRegion : AwsRegion.t option;Amazon Web Services region that owns the physical resource.
*)clientToken : ClientToken.t option;Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
*)logicalResourceId : LogicalResourceId.t;Logical identifier of the resource.
*)physicalResourceId : String2048.t;Physical identifier of the resource.
*)resourceName : EntityName.t option;Name of the resource.
*)resourceType : String255.t;Type of resource.
*)}val make :
?additionalInfo:??? ->
?awsAccountId:??? ->
?awsRegion:??? ->
?clientToken:??? ->
?resourceName:??? ->
appArn:Arn.t ->
appComponents:AppComponentNameList.t ->
logicalResourceId:LogicalResourceId.t ->
physicalResourceId:String2048.t ->
resourceType:String255.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of String255.t ] list
| `Map of
([> `String of String128WithoutWhitespace.t ]
* [> `List of [> `String of String1024.t ] list ])
list
| `String of Arn.t
| `Structure of (string * [> `String of String255.t ]) list ])
list ]