ModifyImageAttributeRequest
public struct ModifyImageAttributeRequest : AWSShapeUndocumented
- 
                  
                  DeclarationSwift public static var _members: [AWSShapeMember]
- 
                  
                  The name of the attribute to modify. The valid values are description, launchPermission, and productCodes. DeclarationSwift public let attribute: String?
- 
                  
                  A new description for the AMI. DeclarationSwift public let description: AttributeValue?
- 
                  
                  Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. DeclarationSwift public let dryRun: Bool?
- 
                  
                  The ID of the AMI. DeclarationSwift public let imageId: String
- 
                  
                  A new launch permission for the AMI. DeclarationSwift public let launchPermission: LaunchPermissionModifications?
- 
                  
                  The operation type. This parameter can be used only when the Attribute parameter is launchPermission. DeclarationSwift public let operationType: OperationType?
- 
                  
                  The DevPay product codes. After you add a product code to an AMI, it can’t be removed. DeclarationSwift public let productCodes: [String]?
- 
                  
                  The user groups. This parameter can be used only when the Attribute parameter is launchPermission. DeclarationSwift public let userGroups: [String]?
- 
                  
                  The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission. DeclarationSwift public let userIds: [String]?
- 
                  
                  The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description or productCodes. DeclarationSwift public let value: String?
- 
                  init(attribute:description:dryRun:imageId:launchPermission:operationType:productCodes:userGroups:userIds:value:)Undocumented DeclarationSwift public init(attribute: String? = nil, description: AttributeValue? = nil, dryRun: Bool? = nil, imageId: String, launchPermission: LaunchPermissionModifications? = nil, operationType: OperationType? = nil, productCodes: [String]? = nil, userGroups: [String]? = nil, userIds: [String]? = nil, value: String? = nil)
 View on GitHub
View on GitHub ModifyImageAttributeRequest Structure Reference
        ModifyImageAttributeRequest Structure Reference