1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5import ( 6 smithydocument "github.com/aws/smithy-go/document" 7) 8 9// An object that contains the ChangeType, Details, and Entity. 10type Change struct { 11 12 // Change types are single string values that describe your intention for the 13 // change. Each change type is unique for each EntityType provided in the change's 14 // scope. 15 // 16 // This member is required. 17 ChangeType *string 18 19 // This object contains details specific to the change type of the requested 20 // change. 21 // 22 // This member is required. 23 Details *string 24 25 // The entity to be changed. 26 // 27 // This member is required. 28 Entity *Entity 29 30 // Optional name for the change. 31 ChangeName *string 32 33 noSmithyDocumentSerde 34} 35 36// A summary of a change set returned in a list of change sets when the 37// ListChangeSets action is called. 38type ChangeSetSummaryListItem struct { 39 40 // The ARN associated with the unique identifier for the change set referenced in 41 // this request. 42 ChangeSetArn *string 43 44 // The unique identifier for a change set. 45 ChangeSetId *string 46 47 // The non-unique name for the change set. 48 ChangeSetName *string 49 50 // The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was 51 // finished. 52 EndTime *string 53 54 // This object is a list of entity IDs (string) that are a part of a change set. 55 // The entity ID list is a maximum of 20 entities. It must contain at least one 56 // entity. 57 EntityIdList []string 58 59 // Returned if the change set is in FAILED status. Can be either CLIENT_ERROR, 60 // which means that there are issues with the request (see the ErrorDetailList of 61 // DescribeChangeSet), or SERVER_FAULT, which means that there is a problem in the 62 // system, and you should retry your request. 63 FailureCode FailureCode 64 65 // The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was 66 // started. 67 StartTime *string 68 69 // The current status of the change set. 70 Status ChangeStatus 71 72 noSmithyDocumentSerde 73} 74 75// This object is a container for common summary information about the change. The 76// summary doesn't contain the whole change structure. 77type ChangeSummary struct { 78 79 // Optional name for the change. 80 ChangeName *string 81 82 // The type of the change. 83 ChangeType *string 84 85 // This object contains details specific to the change type of the requested 86 // change. 87 Details *string 88 89 // The entity to be changed. 90 Entity *Entity 91 92 // An array of ErrorDetail objects associated with the change. 93 ErrorDetailList []ErrorDetail 94 95 noSmithyDocumentSerde 96} 97 98// An entity contains data that describes your product, its supported features, and 99// how it can be used or launched by your customer. 100type Entity struct { 101 102 // The type of entity. 103 // 104 // This member is required. 105 Type *string 106 107 // The identifier for the entity. 108 Identifier *string 109 110 noSmithyDocumentSerde 111} 112 113// This object is a container for common summary information about the entity. The 114// summary doesn't contain the whole entity structure, but it does contain 115// information common across all entities. 116type EntitySummary struct { 117 118 // The ARN associated with the unique identifier for the entity. 119 EntityArn *string 120 121 // The unique identifier for the entity. 122 EntityId *string 123 124 // The type of the entity. 125 EntityType *string 126 127 // The last time the entity was published, using ISO 8601 format 128 // (2018-02-27T13:45:22Z). 129 LastModifiedDate *string 130 131 // The name for the entity. This value is not unique. It is defined by the seller. 132 Name *string 133 134 // The visibility status of the entity to buyers. This value can be Public 135 // (everyone can view the entity), Limited (the entity is visible to limited 136 // accounts only), or Restricted (the entity was published and then unpublished and 137 // only existing buyers can view it). 138 Visibility *string 139 140 noSmithyDocumentSerde 141} 142 143// Details about the error. 144type ErrorDetail struct { 145 146 // The error code that identifies the type of error. 147 ErrorCode *string 148 149 // The message for the error. 150 ErrorMessage *string 151 152 noSmithyDocumentSerde 153} 154 155// A filter object, used to optionally filter results from calls to the 156// ListEntities and ListChangeSets actions. 157type Filter struct { 158 159 // For ListEntities, the supported value for this is an EntityId. For 160 // ListChangeSets, the supported values are as follows: 161 Name *string 162 163 // ListEntities - This is a list of unique EntityIds. ListChangeSets - The 164 // supported filter names and associated ValueLists is as follows: 165 // 166 // * ChangeSetName 167 // - The supported ValueList is a list of non-unique ChangeSetNames. These are 168 // defined when you call the StartChangeSet action. 169 // 170 // * Status - The supported 171 // ValueList is a list of statuses for all change set requests. 172 // 173 // * EntityId - The 174 // supported ValueList is a list of unique EntityIds. 175 // 176 // * BeforeStartTime - The 177 // supported ValueList is a list of all change sets that started before the filter 178 // value. 179 // 180 // * AfterStartTime - The supported ValueList is a list of all change sets 181 // that started after the filter value. 182 // 183 // * BeforeEndTime - The supported ValueList 184 // is a list of all change sets that ended before the filter value. 185 // 186 // * AfterEndTime 187 // - The supported ValueList is a list of all change sets that ended after the 188 // filter value. 189 ValueList []string 190 191 noSmithyDocumentSerde 192} 193 194// An object that contains two attributes, SortBy and SortOrder. 195type Sort struct { 196 197 // For ListEntities, supported attributes include LastModifiedDate (default), 198 // Visibility, EntityId, and Name. For ListChangeSets, supported attributes include 199 // StartTime and EndTime. 200 SortBy *string 201 202 // The sorting order. Can be ASCENDING or DESCENDING. The default value is 203 // DESCENDING. 204 SortOrder SortOrder 205 206 noSmithyDocumentSerde 207} 208 209type noSmithyDocumentSerde = smithydocument.NoSerde 210