Module Values.CreateApplicationVersionResponseSource

Creates an application version.

Sourcetype nonrec t = {
  1. applicationId : string option;
    (*

    The application Amazon Resource Name (ARN).

    *)
  2. creationTime : string option;
    (*

    The date and time this resource was created.

    *)
  3. parameterDefinitions : ParameterDefinition.t list option;
    (*

    An array of parameter types supported by the application.

    *)
  4. requiredCapabilities : Capability.t list option;
    (*

    A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

    *)
  5. resourcesSupported : bool option;
    (*

    Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

    *)
  6. semanticVersion : string option;
    (*

    The semantic version of the application: https://semver.org/

    *)
  7. sourceCodeArchiveUrl : string option;
    (*

    A link to the S3 object that contains the ZIP archive of the source code for this version of your application.Maximum size 50 MB

    *)
  8. sourceCodeUrl : string option;
    (*

    A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

    *)
  9. templateUrl : string option;
    (*

    A link to the packaged AWS SAM template of your application.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `ForbiddenException of ForbiddenException.t
  4. | `InternalServerErrorException of InternalServerErrorException.t
  5. | `TooManyRequestsException of TooManyRequestsException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?applicationId:??? -> ?creationTime:??? -> ?parameterDefinitions:??? -> ?requiredCapabilities:??? -> ?resourcesSupported:??? -> ?semanticVersion:??? -> ?sourceCodeArchiveUrl:??? -> ?sourceCodeUrl:??? -> ?templateUrl:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of bool | `List of [> `Enum of string | `Structure of (string * [> `Boolean of bool | `Integer of int | `List of [> `String of string ] list | `String of string ]) list ] list | `String of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t