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