ImportComponentRequest

public struct ImportComponentRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.

    Declaration

    Swift

    public let changeDescription: String?
  • The idempotency token of the component.

    Declaration

    Swift

    public let clientToken: String
  • The data of the component. Used to specify the data inline. Either data or uri can be used to specify the data within the component.

    Declaration

    Swift

    public let data: String?
  • The description of the component. Describes the contents of the component.

    Declaration

    Swift

    public let description: String?
  • The format of the resource that you want to import as a component.

    Declaration

    Swift

    public let format: ComponentFormat
  • The ID of the KMS key that should be used to encrypt this component.

    Declaration

    Swift

    public let kmsKeyId: String?
  • The name of the component.

    Declaration

    Swift

    public let name: String
  • The platform of the component.

    Declaration

    Swift

    public let platform: Platform
  • The semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).

    Declaration

    Swift

    public let semanticVersion: String
  • The tags of the component.

    Declaration

    Swift

    public let tags: [String : String]?
  • The type of the component denotes whether the component is used to build the image or only to test it.

    Declaration

    Swift

    public let type: ComponentType
  • uri

    The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If you use S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component.

    Declaration

    Swift

    public let uri: String?
  • Undocumented

    Declaration

    Swift

    public init(changeDescription: String? = nil, clientToken: String = ImportComponentRequest.idempotencyToken(), data: String? = nil, description: String? = nil, format: ComponentFormat, kmsKeyId: String? = nil, name: String, platform: Platform, semanticVersion: String, tags: [String : String]? = nil, type: ComponentType, uri: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws