@aws-sdk/client-proton 3.121.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +391 -562
- package/dist-es/protocols/Aws_json1_0.js +224 -395
- package/package.json +27 -27
|
@@ -6086,24 +6086,22 @@ var deserializeAws_json1_0ValidationExceptionResponse = function (parsedOutput,
|
|
|
6086
6086
|
});
|
|
6087
6087
|
}); };
|
|
6088
6088
|
var serializeAws_json1_0AcceptEnvironmentAccountConnectionInput = function (input, context) {
|
|
6089
|
-
return __assign({}, (input.id
|
|
6089
|
+
return __assign({}, (input.id != null && { id: input.id }));
|
|
6090
6090
|
};
|
|
6091
6091
|
var serializeAws_json1_0CancelComponentDeploymentInput = function (input, context) {
|
|
6092
|
-
return __assign({}, (input.componentName
|
|
6092
|
+
return __assign({}, (input.componentName != null && { componentName: input.componentName }));
|
|
6093
6093
|
};
|
|
6094
6094
|
var serializeAws_json1_0CancelEnvironmentDeploymentInput = function (input, context) {
|
|
6095
|
-
return __assign({}, (input.environmentName
|
|
6096
|
-
input.environmentName !== null && { environmentName: input.environmentName }));
|
|
6095
|
+
return __assign({}, (input.environmentName != null && { environmentName: input.environmentName }));
|
|
6097
6096
|
};
|
|
6098
6097
|
var serializeAws_json1_0CancelServiceInstanceDeploymentInput = function (input, context) {
|
|
6099
|
-
return __assign(__assign({}, (input.serviceInstanceName
|
|
6100
|
-
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
|
|
6098
|
+
return __assign(__assign({}, (input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6101
6099
|
};
|
|
6102
6100
|
var serializeAws_json1_0CancelServicePipelineDeploymentInput = function (input, context) {
|
|
6103
|
-
return __assign({}, (input.serviceName
|
|
6101
|
+
return __assign({}, (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6104
6102
|
};
|
|
6105
6103
|
var serializeAws_json1_0CompatibleEnvironmentTemplateInput = function (input, context) {
|
|
6106
|
-
return __assign(__assign({}, (input.majorVersion
|
|
6104
|
+
return __assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6107
6105
|
};
|
|
6108
6106
|
var serializeAws_json1_0CompatibleEnvironmentTemplateInputList = function (input, context) {
|
|
6109
6107
|
return input
|
|
@@ -6116,96 +6114,75 @@ var serializeAws_json1_0CompatibleEnvironmentTemplateInputList = function (input
|
|
|
6116
6114
|
});
|
|
6117
6115
|
};
|
|
6118
6116
|
var serializeAws_json1_0CreateComponentInput = function (input, context) {
|
|
6119
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
6120
|
-
input.environmentName !== null && { environmentName: input.environmentName })), (input.manifest !== undefined && input.manifest !== null && { manifest: input.manifest })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.serviceInstanceName !== undefined &&
|
|
6121
|
-
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.serviceSpec !== undefined && input.serviceSpec !== null && { serviceSpec: input.serviceSpec })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateFile !== undefined && input.templateFile !== null && { templateFile: input.templateFile }));
|
|
6117
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.environmentName != null && { environmentName: input.environmentName })), (input.manifest != null && { manifest: input.manifest })), (input.name != null && { name: input.name })), (input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName != null && { serviceName: input.serviceName })), (input.serviceSpec != null && { serviceSpec: input.serviceSpec })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateFile != null && { templateFile: input.templateFile }));
|
|
6122
6118
|
};
|
|
6123
6119
|
var serializeAws_json1_0CreateEnvironmentAccountConnectionInput = function (input, context) {
|
|
6124
6120
|
var _a;
|
|
6125
|
-
return __assign(__assign(__assign(__assign(__assign({ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.componentRoleArn
|
|
6126
|
-
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn })), (input.environmentName !== undefined &&
|
|
6127
|
-
input.environmentName !== null && { environmentName: input.environmentName })), (input.managementAccountId !== undefined &&
|
|
6128
|
-
input.managementAccountId !== null && { managementAccountId: input.managementAccountId })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
6121
|
+
return __assign(__assign(__assign(__assign(__assign({ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn })), (input.environmentName != null && { environmentName: input.environmentName })), (input.managementAccountId != null && { managementAccountId: input.managementAccountId })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
6129
6122
|
};
|
|
6130
6123
|
var serializeAws_json1_0CreateEnvironmentInput = function (input, context) {
|
|
6131
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.componentRoleArn
|
|
6132
|
-
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.environmentAccountConnectionId !== undefined &&
|
|
6133
|
-
input.environmentAccountConnectionId !== null && {
|
|
6124
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn })), (input.description != null && { description: input.description })), (input.environmentAccountConnectionId != null && {
|
|
6134
6125
|
environmentAccountConnectionId: input.environmentAccountConnectionId,
|
|
6135
|
-
})), (input.name
|
|
6136
|
-
input.protonServiceRoleArn !== null && { protonServiceRoleArn: input.protonServiceRoleArn })), (input.provisioningRepository !== undefined &&
|
|
6137
|
-
input.provisioningRepository !== null && {
|
|
6126
|
+
})), (input.name != null && { name: input.name })), (input.protonServiceRoleArn != null && { protonServiceRoleArn: input.protonServiceRoleArn })), (input.provisioningRepository != null && {
|
|
6138
6127
|
provisioningRepository: serializeAws_json1_0RepositoryBranchInput(input.provisioningRepository, context),
|
|
6139
|
-
})), (input.spec
|
|
6140
|
-
input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion !== undefined &&
|
|
6141
|
-
input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion })), (input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }));
|
|
6128
|
+
})), (input.spec != null && { spec: input.spec })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6142
6129
|
};
|
|
6143
6130
|
var serializeAws_json1_0CreateEnvironmentTemplateInput = function (input, context) {
|
|
6144
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
6131
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.displayName != null && { displayName: input.displayName })), (input.encryptionKey != null && { encryptionKey: input.encryptionKey })), (input.name != null && { name: input.name })), (input.provisioning != null && { provisioning: input.provisioning })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
6145
6132
|
};
|
|
6146
6133
|
var serializeAws_json1_0CreateEnvironmentTemplateVersionInput = function (input, context) {
|
|
6147
6134
|
var _a;
|
|
6148
|
-
return __assign(__assign(__assign(__assign(__assign({ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.description
|
|
6149
|
-
input.source !== null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }));
|
|
6135
|
+
return __assign(__assign(__assign(__assign(__assign({ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.description != null && { description: input.description })), (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.source != null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateName != null && { templateName: input.templateName }));
|
|
6150
6136
|
};
|
|
6151
6137
|
var serializeAws_json1_0CreateRepositoryInput = function (input, context) {
|
|
6152
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.connectionArn
|
|
6138
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.connectionArn != null && { connectionArn: input.connectionArn })), (input.encryptionKey != null && { encryptionKey: input.encryptionKey })), (input.name != null && { name: input.name })), (input.provider != null && { provider: input.provider })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
6153
6139
|
};
|
|
6154
6140
|
var serializeAws_json1_0CreateServiceInput = function (input, context) {
|
|
6155
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.branchName
|
|
6156
|
-
input.repositoryConnectionArn !== null && { repositoryConnectionArn: input.repositoryConnectionArn })), (input.repositoryId !== undefined && input.repositoryId !== null && { repositoryId: input.repositoryId })), (input.spec !== undefined && input.spec !== null && { spec: input.spec })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateMajorVersion !== undefined &&
|
|
6157
|
-
input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion !== undefined &&
|
|
6158
|
-
input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion })), (input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }));
|
|
6141
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.branchName != null && { branchName: input.branchName })), (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.repositoryConnectionArn != null && { repositoryConnectionArn: input.repositoryConnectionArn })), (input.repositoryId != null && { repositoryId: input.repositoryId })), (input.spec != null && { spec: input.spec })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6159
6142
|
};
|
|
6160
6143
|
var serializeAws_json1_0CreateServiceTemplateInput = function (input, context) {
|
|
6161
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
6162
|
-
input.pipelineProvisioning !== null && { pipelineProvisioning: input.pipelineProvisioning })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
6144
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.displayName != null && { displayName: input.displayName })), (input.encryptionKey != null && { encryptionKey: input.encryptionKey })), (input.name != null && { name: input.name })), (input.pipelineProvisioning != null && { pipelineProvisioning: input.pipelineProvisioning })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
6163
6145
|
};
|
|
6164
6146
|
var serializeAws_json1_0CreateServiceTemplateVersionInput = function (input, context) {
|
|
6165
6147
|
var _a;
|
|
6166
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.compatibleEnvironmentTemplates
|
|
6167
|
-
input.compatibleEnvironmentTemplates !== null && {
|
|
6148
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.compatibleEnvironmentTemplates != null && {
|
|
6168
6149
|
compatibleEnvironmentTemplates: serializeAws_json1_0CompatibleEnvironmentTemplateInputList(input.compatibleEnvironmentTemplates, context),
|
|
6169
|
-
})), (input.description
|
|
6170
|
-
input.source !== null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) })), (input.supportedComponentSources !== undefined &&
|
|
6171
|
-
input.supportedComponentSources !== null && {
|
|
6150
|
+
})), (input.description != null && { description: input.description })), (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.source != null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) })), (input.supportedComponentSources != null && {
|
|
6172
6151
|
supportedComponentSources: serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(input.supportedComponentSources, context),
|
|
6173
|
-
})), (input.tags
|
|
6152
|
+
})), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.templateName != null && { templateName: input.templateName }));
|
|
6174
6153
|
};
|
|
6175
6154
|
var serializeAws_json1_0CreateTemplateSyncConfigInput = function (input, context) {
|
|
6176
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.branch
|
|
6177
|
-
input.repositoryName !== null && { repositoryName: input.repositoryName })), (input.repositoryProvider !== undefined &&
|
|
6178
|
-
input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider })), (input.subdirectory !== undefined && input.subdirectory !== null && { subdirectory: input.subdirectory })), (input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName })), (input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }));
|
|
6155
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.branch != null && { branch: input.branch })), (input.repositoryName != null && { repositoryName: input.repositoryName })), (input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider })), (input.subdirectory != null && { subdirectory: input.subdirectory })), (input.templateName != null && { templateName: input.templateName })), (input.templateType != null && { templateType: input.templateType }));
|
|
6179
6156
|
};
|
|
6180
6157
|
var serializeAws_json1_0DeleteComponentInput = function (input, context) {
|
|
6181
|
-
return __assign({}, (input.name
|
|
6158
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6182
6159
|
};
|
|
6183
6160
|
var serializeAws_json1_0DeleteEnvironmentAccountConnectionInput = function (input, context) {
|
|
6184
|
-
return __assign({}, (input.id
|
|
6161
|
+
return __assign({}, (input.id != null && { id: input.id }));
|
|
6185
6162
|
};
|
|
6186
6163
|
var serializeAws_json1_0DeleteEnvironmentInput = function (input, context) {
|
|
6187
|
-
return __assign({}, (input.name
|
|
6164
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6188
6165
|
};
|
|
6189
6166
|
var serializeAws_json1_0DeleteEnvironmentTemplateInput = function (input, context) {
|
|
6190
|
-
return __assign({}, (input.name
|
|
6167
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6191
6168
|
};
|
|
6192
6169
|
var serializeAws_json1_0DeleteEnvironmentTemplateVersionInput = function (input, context) {
|
|
6193
|
-
return __assign(__assign(__assign({}, (input.majorVersion
|
|
6170
|
+
return __assign(__assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.minorVersion != null && { minorVersion: input.minorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6194
6171
|
};
|
|
6195
6172
|
var serializeAws_json1_0DeleteRepositoryInput = function (input, context) {
|
|
6196
|
-
return __assign(__assign({}, (input.name
|
|
6173
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.provider != null && { provider: input.provider }));
|
|
6197
6174
|
};
|
|
6198
6175
|
var serializeAws_json1_0DeleteServiceInput = function (input, context) {
|
|
6199
|
-
return __assign({}, (input.name
|
|
6176
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6200
6177
|
};
|
|
6201
6178
|
var serializeAws_json1_0DeleteServiceTemplateInput = function (input, context) {
|
|
6202
|
-
return __assign({}, (input.name
|
|
6179
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6203
6180
|
};
|
|
6204
6181
|
var serializeAws_json1_0DeleteServiceTemplateVersionInput = function (input, context) {
|
|
6205
|
-
return __assign(__assign(__assign({}, (input.majorVersion
|
|
6182
|
+
return __assign(__assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.minorVersion != null && { minorVersion: input.minorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6206
6183
|
};
|
|
6207
6184
|
var serializeAws_json1_0DeleteTemplateSyncConfigInput = function (input, context) {
|
|
6208
|
-
return __assign(__assign({}, (input.templateName
|
|
6185
|
+
return __assign(__assign({}, (input.templateName != null && { templateName: input.templateName })), (input.templateType != null && { templateType: input.templateType }));
|
|
6209
6186
|
};
|
|
6210
6187
|
var serializeAws_json1_0EnvironmentAccountConnectionStatusList = function (input, context) {
|
|
6211
6188
|
return input
|
|
@@ -6218,7 +6195,7 @@ var serializeAws_json1_0EnvironmentAccountConnectionStatusList = function (input
|
|
|
6218
6195
|
});
|
|
6219
6196
|
};
|
|
6220
6197
|
var serializeAws_json1_0EnvironmentTemplateFilter = function (input, context) {
|
|
6221
|
-
return __assign(__assign({}, (input.majorVersion
|
|
6198
|
+
return __assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6222
6199
|
};
|
|
6223
6200
|
var serializeAws_json1_0EnvironmentTemplateFilterList = function (input, context) {
|
|
6224
6201
|
return input
|
|
@@ -6234,128 +6211,113 @@ var serializeAws_json1_0GetAccountSettingsInput = function (input, context) {
|
|
|
6234
6211
|
return {};
|
|
6235
6212
|
};
|
|
6236
6213
|
var serializeAws_json1_0GetComponentInput = function (input, context) {
|
|
6237
|
-
return __assign({}, (input.name
|
|
6214
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6238
6215
|
};
|
|
6239
6216
|
var serializeAws_json1_0GetEnvironmentAccountConnectionInput = function (input, context) {
|
|
6240
|
-
return __assign({}, (input.id
|
|
6217
|
+
return __assign({}, (input.id != null && { id: input.id }));
|
|
6241
6218
|
};
|
|
6242
6219
|
var serializeAws_json1_0GetEnvironmentInput = function (input, context) {
|
|
6243
|
-
return __assign({}, (input.name
|
|
6220
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6244
6221
|
};
|
|
6245
6222
|
var serializeAws_json1_0GetEnvironmentTemplateInput = function (input, context) {
|
|
6246
|
-
return __assign({}, (input.name
|
|
6223
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6247
6224
|
};
|
|
6248
6225
|
var serializeAws_json1_0GetEnvironmentTemplateVersionInput = function (input, context) {
|
|
6249
|
-
return __assign(__assign(__assign({}, (input.majorVersion
|
|
6226
|
+
return __assign(__assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.minorVersion != null && { minorVersion: input.minorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6250
6227
|
};
|
|
6251
6228
|
var serializeAws_json1_0GetRepositoryInput = function (input, context) {
|
|
6252
|
-
return __assign(__assign({}, (input.name
|
|
6229
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.provider != null && { provider: input.provider }));
|
|
6253
6230
|
};
|
|
6254
6231
|
var serializeAws_json1_0GetRepositorySyncStatusInput = function (input, context) {
|
|
6255
|
-
return __assign(__assign(__assign(__assign({}, (input.branch
|
|
6256
|
-
input.repositoryName !== null && { repositoryName: input.repositoryName })), (input.repositoryProvider !== undefined &&
|
|
6257
|
-
input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider })), (input.syncType !== undefined && input.syncType !== null && { syncType: input.syncType }));
|
|
6232
|
+
return __assign(__assign(__assign(__assign({}, (input.branch != null && { branch: input.branch })), (input.repositoryName != null && { repositoryName: input.repositoryName })), (input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider })), (input.syncType != null && { syncType: input.syncType }));
|
|
6258
6233
|
};
|
|
6259
6234
|
var serializeAws_json1_0GetServiceInput = function (input, context) {
|
|
6260
|
-
return __assign({}, (input.name
|
|
6235
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6261
6236
|
};
|
|
6262
6237
|
var serializeAws_json1_0GetServiceInstanceInput = function (input, context) {
|
|
6263
|
-
return __assign(__assign({}, (input.name
|
|
6238
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6264
6239
|
};
|
|
6265
6240
|
var serializeAws_json1_0GetServiceTemplateInput = function (input, context) {
|
|
6266
|
-
return __assign({}, (input.name
|
|
6241
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
6267
6242
|
};
|
|
6268
6243
|
var serializeAws_json1_0GetServiceTemplateVersionInput = function (input, context) {
|
|
6269
|
-
return __assign(__assign(__assign({}, (input.majorVersion
|
|
6244
|
+
return __assign(__assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.minorVersion != null && { minorVersion: input.minorVersion })), (input.templateName != null && { templateName: input.templateName }));
|
|
6270
6245
|
};
|
|
6271
6246
|
var serializeAws_json1_0GetTemplateSyncConfigInput = function (input, context) {
|
|
6272
|
-
return __assign(__assign({}, (input.templateName
|
|
6247
|
+
return __assign(__assign({}, (input.templateName != null && { templateName: input.templateName })), (input.templateType != null && { templateType: input.templateType }));
|
|
6273
6248
|
};
|
|
6274
6249
|
var serializeAws_json1_0GetTemplateSyncStatusInput = function (input, context) {
|
|
6275
|
-
return __assign(__assign(__assign({}, (input.templateName
|
|
6276
|
-
input.templateVersion !== null && { templateVersion: input.templateVersion }));
|
|
6250
|
+
return __assign(__assign(__assign({}, (input.templateName != null && { templateName: input.templateName })), (input.templateType != null && { templateType: input.templateType })), (input.templateVersion != null && { templateVersion: input.templateVersion }));
|
|
6277
6251
|
};
|
|
6278
6252
|
var serializeAws_json1_0ListComponentOutputsInput = function (input, context) {
|
|
6279
|
-
return __assign(__assign({}, (input.componentName
|
|
6253
|
+
return __assign(__assign({}, (input.componentName != null && { componentName: input.componentName })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6280
6254
|
};
|
|
6281
6255
|
var serializeAws_json1_0ListComponentProvisionedResourcesInput = function (input, context) {
|
|
6282
|
-
return __assign(__assign({}, (input.componentName
|
|
6256
|
+
return __assign(__assign({}, (input.componentName != null && { componentName: input.componentName })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6283
6257
|
};
|
|
6284
6258
|
var serializeAws_json1_0ListComponentsInput = function (input, context) {
|
|
6285
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.environmentName
|
|
6286
|
-
input.environmentName !== null && { environmentName: input.environmentName })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.serviceInstanceName !== undefined &&
|
|
6287
|
-
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
|
|
6259
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.environmentName != null && { environmentName: input.environmentName })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6288
6260
|
};
|
|
6289
6261
|
var serializeAws_json1_0ListEnvironmentAccountConnectionsInput = function (input, context) {
|
|
6290
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.environmentName
|
|
6291
|
-
input.environmentName !== null && { environmentName: input.environmentName })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.requestedBy !== undefined && input.requestedBy !== null && { requestedBy: input.requestedBy })), (input.statuses !== undefined &&
|
|
6292
|
-
input.statuses !== null && {
|
|
6262
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.environmentName != null && { environmentName: input.environmentName })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.requestedBy != null && { requestedBy: input.requestedBy })), (input.statuses != null && {
|
|
6293
6263
|
statuses: serializeAws_json1_0EnvironmentAccountConnectionStatusList(input.statuses, context),
|
|
6294
6264
|
}));
|
|
6295
6265
|
};
|
|
6296
6266
|
var serializeAws_json1_0ListEnvironmentOutputsInput = function (input, context) {
|
|
6297
|
-
return __assign(__assign({}, (input.environmentName
|
|
6298
|
-
input.environmentName !== null && { environmentName: input.environmentName })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
6267
|
+
return __assign(__assign({}, (input.environmentName != null && { environmentName: input.environmentName })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6299
6268
|
};
|
|
6300
6269
|
var serializeAws_json1_0ListEnvironmentProvisionedResourcesInput = function (input, context) {
|
|
6301
|
-
return __assign(__assign({}, (input.environmentName
|
|
6302
|
-
input.environmentName !== null && { environmentName: input.environmentName })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
|
|
6270
|
+
return __assign(__assign({}, (input.environmentName != null && { environmentName: input.environmentName })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6303
6271
|
};
|
|
6304
6272
|
var serializeAws_json1_0ListEnvironmentsInput = function (input, context) {
|
|
6305
|
-
return __assign(__assign(__assign({}, (input.environmentTemplates
|
|
6306
|
-
input.environmentTemplates !== null && {
|
|
6273
|
+
return __assign(__assign(__assign({}, (input.environmentTemplates != null && {
|
|
6307
6274
|
environmentTemplates: serializeAws_json1_0EnvironmentTemplateFilterList(input.environmentTemplates, context),
|
|
6308
|
-
})), (input.maxResults
|
|
6275
|
+
})), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6309
6276
|
};
|
|
6310
6277
|
var serializeAws_json1_0ListEnvironmentTemplatesInput = function (input, context) {
|
|
6311
|
-
return __assign(__assign({}, (input.maxResults
|
|
6278
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6312
6279
|
};
|
|
6313
6280
|
var serializeAws_json1_0ListEnvironmentTemplateVersionsInput = function (input, context) {
|
|
6314
|
-
return __assign(__assign(__assign(__assign({}, (input.majorVersion
|
|
6281
|
+
return __assign(__assign(__assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.templateName != null && { templateName: input.templateName }));
|
|
6315
6282
|
};
|
|
6316
6283
|
var serializeAws_json1_0ListRepositoriesInput = function (input, context) {
|
|
6317
|
-
return __assign(__assign({}, (input.maxResults
|
|
6284
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6318
6285
|
};
|
|
6319
6286
|
var serializeAws_json1_0ListRepositorySyncDefinitionsInput = function (input, context) {
|
|
6320
|
-
return __assign(__assign(__assign(__assign({}, (input.nextToken
|
|
6321
|
-
input.repositoryName !== null && { repositoryName: input.repositoryName })), (input.repositoryProvider !== undefined &&
|
|
6322
|
-
input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider })), (input.syncType !== undefined && input.syncType !== null && { syncType: input.syncType }));
|
|
6287
|
+
return __assign(__assign(__assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.repositoryName != null && { repositoryName: input.repositoryName })), (input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider })), (input.syncType != null && { syncType: input.syncType }));
|
|
6323
6288
|
};
|
|
6324
6289
|
var serializeAws_json1_0ListServiceInstanceOutputsInput = function (input, context) {
|
|
6325
|
-
return __assign(__assign(__assign({}, (input.nextToken
|
|
6326
|
-
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
|
|
6290
|
+
return __assign(__assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6327
6291
|
};
|
|
6328
6292
|
var serializeAws_json1_0ListServiceInstanceProvisionedResourcesInput = function (input, context) {
|
|
6329
|
-
return __assign(__assign(__assign({}, (input.nextToken
|
|
6330
|
-
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }));
|
|
6293
|
+
return __assign(__assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6331
6294
|
};
|
|
6332
6295
|
var serializeAws_json1_0ListServiceInstancesInput = function (input, context) {
|
|
6333
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
6296
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6334
6297
|
};
|
|
6335
6298
|
var serializeAws_json1_0ListServicePipelineOutputsInput = function (input, context) {
|
|
6336
|
-
return __assign(__assign({}, (input.nextToken
|
|
6299
|
+
return __assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6337
6300
|
};
|
|
6338
6301
|
var serializeAws_json1_0ListServicePipelineProvisionedResourcesInput = function (input, context) {
|
|
6339
|
-
return __assign(__assign({}, (input.nextToken
|
|
6302
|
+
return __assign(__assign({}, (input.nextToken != null && { nextToken: input.nextToken })), (input.serviceName != null && { serviceName: input.serviceName }));
|
|
6340
6303
|
};
|
|
6341
6304
|
var serializeAws_json1_0ListServicesInput = function (input, context) {
|
|
6342
|
-
return __assign(__assign({}, (input.maxResults
|
|
6305
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6343
6306
|
};
|
|
6344
6307
|
var serializeAws_json1_0ListServiceTemplatesInput = function (input, context) {
|
|
6345
|
-
return __assign(__assign({}, (input.maxResults
|
|
6308
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
6346
6309
|
};
|
|
6347
6310
|
var serializeAws_json1_0ListServiceTemplateVersionsInput = function (input, context) {
|
|
6348
|
-
return __assign(__assign(__assign(__assign({}, (input.majorVersion
|
|
6311
|
+
return __assign(__assign(__assign(__assign({}, (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.templateName != null && { templateName: input.templateName }));
|
|
6349
6312
|
};
|
|
6350
6313
|
var serializeAws_json1_0ListTagsForResourceInput = function (input, context) {
|
|
6351
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
6314
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
6352
6315
|
};
|
|
6353
6316
|
var serializeAws_json1_0NotifyResourceDeploymentStatusChangeInput = function (input, context) {
|
|
6354
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.deploymentId
|
|
6355
|
-
input.outputs !== null && { outputs: serializeAws_json1_0OutputsList(input.outputs, context) })), (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.statusMessage !== undefined && input.statusMessage !== null && { statusMessage: input.statusMessage }));
|
|
6317
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.deploymentId != null && { deploymentId: input.deploymentId })), (input.outputs != null && { outputs: serializeAws_json1_0OutputsList(input.outputs, context) })), (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.status != null && { status: input.status })), (input.statusMessage != null && { statusMessage: input.statusMessage }));
|
|
6356
6318
|
};
|
|
6357
6319
|
var serializeAws_json1_0Output = function (input, context) {
|
|
6358
|
-
return __assign(__assign({}, (input.key
|
|
6320
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.valueString != null && { valueString: input.valueString }));
|
|
6359
6321
|
};
|
|
6360
6322
|
var serializeAws_json1_0OutputsList = function (input, context) {
|
|
6361
6323
|
return input
|
|
@@ -6368,13 +6330,13 @@ var serializeAws_json1_0OutputsList = function (input, context) {
|
|
|
6368
6330
|
});
|
|
6369
6331
|
};
|
|
6370
6332
|
var serializeAws_json1_0RejectEnvironmentAccountConnectionInput = function (input, context) {
|
|
6371
|
-
return __assign({}, (input.id
|
|
6333
|
+
return __assign({}, (input.id != null && { id: input.id }));
|
|
6372
6334
|
};
|
|
6373
6335
|
var serializeAws_json1_0RepositoryBranchInput = function (input, context) {
|
|
6374
|
-
return __assign(__assign(__assign({}, (input.branch
|
|
6336
|
+
return __assign(__assign(__assign({}, (input.branch != null && { branch: input.branch })), (input.name != null && { name: input.name })), (input.provider != null && { provider: input.provider }));
|
|
6375
6337
|
};
|
|
6376
6338
|
var serializeAws_json1_0S3ObjectSource = function (input, context) {
|
|
6377
|
-
return __assign(__assign({}, (input.bucket
|
|
6339
|
+
return __assign(__assign({}, (input.bucket != null && { bucket: input.bucket })), (input.key != null && { key: input.key }));
|
|
6378
6340
|
};
|
|
6379
6341
|
var serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = function (input, context) {
|
|
6380
6342
|
return input
|
|
@@ -6387,7 +6349,7 @@ var serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = funct
|
|
|
6387
6349
|
});
|
|
6388
6350
|
};
|
|
6389
6351
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
6390
|
-
return __assign(__assign({}, (input.key
|
|
6352
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
6391
6353
|
};
|
|
6392
6354
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
6393
6355
|
return input
|
|
@@ -6410,7 +6372,7 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
6410
6372
|
});
|
|
6411
6373
|
};
|
|
6412
6374
|
var serializeAws_json1_0TagResourceInput = function (input, context) {
|
|
6413
|
-
return __assign(__assign({}, (input.resourceArn
|
|
6375
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
6414
6376
|
};
|
|
6415
6377
|
var serializeAws_json1_0TemplateVersionSourceInput = function (input, context) {
|
|
6416
6378
|
return TemplateVersionSourceInput.visit(input, {
|
|
@@ -6419,80 +6381,57 @@ var serializeAws_json1_0TemplateVersionSourceInput = function (input, context) {
|
|
|
6419
6381
|
});
|
|
6420
6382
|
};
|
|
6421
6383
|
var serializeAws_json1_0UntagResourceInput = function (input, context) {
|
|
6422
|
-
return __assign(__assign({}, (input.resourceArn
|
|
6423
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }));
|
|
6384
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }));
|
|
6424
6385
|
};
|
|
6425
6386
|
var serializeAws_json1_0UpdateAccountSettingsInput = function (input, context) {
|
|
6426
|
-
return __assign(__assign({}, (input.pipelineProvisioningRepository
|
|
6427
|
-
input.pipelineProvisioningRepository !== null && {
|
|
6387
|
+
return __assign(__assign({}, (input.pipelineProvisioningRepository != null && {
|
|
6428
6388
|
pipelineProvisioningRepository: serializeAws_json1_0RepositoryBranchInput(input.pipelineProvisioningRepository, context),
|
|
6429
|
-
})), (input.pipelineServiceRoleArn
|
|
6430
|
-
input.pipelineServiceRoleArn !== null && { pipelineServiceRoleArn: input.pipelineServiceRoleArn }));
|
|
6389
|
+
})), (input.pipelineServiceRoleArn != null && { pipelineServiceRoleArn: input.pipelineServiceRoleArn }));
|
|
6431
6390
|
};
|
|
6432
6391
|
var serializeAws_json1_0UpdateComponentInput = function (input, context) {
|
|
6433
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.deploymentType
|
|
6434
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.serviceInstanceName !== undefined &&
|
|
6435
|
-
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.serviceSpec !== undefined && input.serviceSpec !== null && { serviceSpec: input.serviceSpec })), (input.templateFile !== undefined && input.templateFile !== null && { templateFile: input.templateFile }));
|
|
6392
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.deploymentType != null && { deploymentType: input.deploymentType })), (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName })), (input.serviceName != null && { serviceName: input.serviceName })), (input.serviceSpec != null && { serviceSpec: input.serviceSpec })), (input.templateFile != null && { templateFile: input.templateFile }));
|
|
6436
6393
|
};
|
|
6437
6394
|
var serializeAws_json1_0UpdateEnvironmentAccountConnectionInput = function (input, context) {
|
|
6438
|
-
return __assign(__assign(__assign({}, (input.componentRoleArn
|
|
6439
|
-
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn })), (input.id !== undefined && input.id !== null && { id: input.id })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
|
|
6395
|
+
return __assign(__assign(__assign({}, (input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn })), (input.id != null && { id: input.id })), (input.roleArn != null && { roleArn: input.roleArn }));
|
|
6440
6396
|
};
|
|
6441
6397
|
var serializeAws_json1_0UpdateEnvironmentInput = function (input, context) {
|
|
6442
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.componentRoleArn
|
|
6443
|
-
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn })), (input.deploymentType !== undefined &&
|
|
6444
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.environmentAccountConnectionId !== undefined &&
|
|
6445
|
-
input.environmentAccountConnectionId !== null && {
|
|
6398
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.componentRoleArn != null && { componentRoleArn: input.componentRoleArn })), (input.deploymentType != null && { deploymentType: input.deploymentType })), (input.description != null && { description: input.description })), (input.environmentAccountConnectionId != null && {
|
|
6446
6399
|
environmentAccountConnectionId: input.environmentAccountConnectionId,
|
|
6447
|
-
})), (input.name
|
|
6448
|
-
input.protonServiceRoleArn !== null && { protonServiceRoleArn: input.protonServiceRoleArn })), (input.provisioningRepository !== undefined &&
|
|
6449
|
-
input.provisioningRepository !== null && {
|
|
6400
|
+
})), (input.name != null && { name: input.name })), (input.protonServiceRoleArn != null && { protonServiceRoleArn: input.protonServiceRoleArn })), (input.provisioningRepository != null && {
|
|
6450
6401
|
provisioningRepository: serializeAws_json1_0RepositoryBranchInput(input.provisioningRepository, context),
|
|
6451
|
-
})), (input.spec
|
|
6452
|
-
input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion !== undefined &&
|
|
6453
|
-
input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }));
|
|
6402
|
+
})), (input.spec != null && { spec: input.spec })), (input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }));
|
|
6454
6403
|
};
|
|
6455
6404
|
var serializeAws_json1_0UpdateEnvironmentTemplateInput = function (input, context) {
|
|
6456
|
-
return __assign(__assign(__assign({}, (input.description
|
|
6405
|
+
return __assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.displayName != null && { displayName: input.displayName })), (input.name != null && { name: input.name }));
|
|
6457
6406
|
};
|
|
6458
6407
|
var serializeAws_json1_0UpdateEnvironmentTemplateVersionInput = function (input, context) {
|
|
6459
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
6408
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.minorVersion != null && { minorVersion: input.minorVersion })), (input.status != null && { status: input.status })), (input.templateName != null && { templateName: input.templateName }));
|
|
6460
6409
|
};
|
|
6461
6410
|
var serializeAws_json1_0UpdateServiceInput = function (input, context) {
|
|
6462
|
-
return __assign(__assign(__assign({}, (input.description
|
|
6411
|
+
return __assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.spec != null && { spec: input.spec }));
|
|
6463
6412
|
};
|
|
6464
6413
|
var serializeAws_json1_0UpdateServiceInstanceInput = function (input, context) {
|
|
6465
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.deploymentType
|
|
6466
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.spec !== undefined && input.spec !== null && { spec: input.spec })), (input.templateMajorVersion !== undefined &&
|
|
6467
|
-
input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion !== undefined &&
|
|
6468
|
-
input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }));
|
|
6414
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.deploymentType != null && { deploymentType: input.deploymentType })), (input.name != null && { name: input.name })), (input.serviceName != null && { serviceName: input.serviceName })), (input.spec != null && { spec: input.spec })), (input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }));
|
|
6469
6415
|
};
|
|
6470
6416
|
var serializeAws_json1_0UpdateServicePipelineInput = function (input, context) {
|
|
6471
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.deploymentType
|
|
6472
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType })), (input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName })), (input.spec !== undefined && input.spec !== null && { spec: input.spec })), (input.templateMajorVersion !== undefined &&
|
|
6473
|
-
input.templateMajorVersion !== null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion !== undefined &&
|
|
6474
|
-
input.templateMinorVersion !== null && { templateMinorVersion: input.templateMinorVersion }));
|
|
6417
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.deploymentType != null && { deploymentType: input.deploymentType })), (input.serviceName != null && { serviceName: input.serviceName })), (input.spec != null && { spec: input.spec })), (input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion })), (input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }));
|
|
6475
6418
|
};
|
|
6476
6419
|
var serializeAws_json1_0UpdateServiceTemplateInput = function (input, context) {
|
|
6477
|
-
return __assign(__assign(__assign({}, (input.description
|
|
6420
|
+
return __assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.displayName != null && { displayName: input.displayName })), (input.name != null && { name: input.name }));
|
|
6478
6421
|
};
|
|
6479
6422
|
var serializeAws_json1_0UpdateServiceTemplateVersionInput = function (input, context) {
|
|
6480
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.compatibleEnvironmentTemplates
|
|
6481
|
-
input.compatibleEnvironmentTemplates !== null && {
|
|
6423
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.compatibleEnvironmentTemplates != null && {
|
|
6482
6424
|
compatibleEnvironmentTemplates: serializeAws_json1_0CompatibleEnvironmentTemplateInputList(input.compatibleEnvironmentTemplates, context),
|
|
6483
|
-
})), (input.description
|
|
6484
|
-
input.supportedComponentSources !== null && {
|
|
6425
|
+
})), (input.description != null && { description: input.description })), (input.majorVersion != null && { majorVersion: input.majorVersion })), (input.minorVersion != null && { minorVersion: input.minorVersion })), (input.status != null && { status: input.status })), (input.supportedComponentSources != null && {
|
|
6485
6426
|
supportedComponentSources: serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(input.supportedComponentSources, context),
|
|
6486
|
-
})), (input.templateName
|
|
6427
|
+
})), (input.templateName != null && { templateName: input.templateName }));
|
|
6487
6428
|
};
|
|
6488
6429
|
var serializeAws_json1_0UpdateTemplateSyncConfigInput = function (input, context) {
|
|
6489
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.branch
|
|
6490
|
-
input.repositoryName !== null && { repositoryName: input.repositoryName })), (input.repositoryProvider !== undefined &&
|
|
6491
|
-
input.repositoryProvider !== null && { repositoryProvider: input.repositoryProvider })), (input.subdirectory !== undefined && input.subdirectory !== null && { subdirectory: input.subdirectory })), (input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName })), (input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }));
|
|
6430
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.branch != null && { branch: input.branch })), (input.repositoryName != null && { repositoryName: input.repositoryName })), (input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider })), (input.subdirectory != null && { subdirectory: input.subdirectory })), (input.templateName != null && { templateName: input.templateName })), (input.templateType != null && { templateType: input.templateType }));
|
|
6492
6431
|
};
|
|
6493
6432
|
var deserializeAws_json1_0AcceptEnvironmentAccountConnectionOutput = function (output, context) {
|
|
6494
6433
|
return {
|
|
6495
|
-
environmentAccountConnection: output.environmentAccountConnection
|
|
6434
|
+
environmentAccountConnection: output.environmentAccountConnection != null
|
|
6496
6435
|
? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
|
|
6497
6436
|
: undefined,
|
|
6498
6437
|
};
|
|
@@ -6504,7 +6443,7 @@ var deserializeAws_json1_0AccessDeniedException = function (output, context) {
|
|
|
6504
6443
|
};
|
|
6505
6444
|
var deserializeAws_json1_0AccountSettings = function (output, context) {
|
|
6506
6445
|
return {
|
|
6507
|
-
pipelineProvisioningRepository: output.pipelineProvisioningRepository
|
|
6446
|
+
pipelineProvisioningRepository: output.pipelineProvisioningRepository != null
|
|
6508
6447
|
? deserializeAws_json1_0RepositoryBranch(output.pipelineProvisioningRepository, context)
|
|
6509
6448
|
: undefined,
|
|
6510
6449
|
pipelineServiceRoleArn: __expectString(output.pipelineServiceRoleArn),
|
|
@@ -6512,30 +6451,24 @@ var deserializeAws_json1_0AccountSettings = function (output, context) {
|
|
|
6512
6451
|
};
|
|
6513
6452
|
var deserializeAws_json1_0CancelComponentDeploymentOutput = function (output, context) {
|
|
6514
6453
|
return {
|
|
6515
|
-
component: output.component
|
|
6516
|
-
? deserializeAws_json1_0Component(output.component, context)
|
|
6517
|
-
: undefined,
|
|
6454
|
+
component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
|
|
6518
6455
|
};
|
|
6519
6456
|
};
|
|
6520
6457
|
var deserializeAws_json1_0CancelEnvironmentDeploymentOutput = function (output, context) {
|
|
6521
6458
|
return {
|
|
6522
|
-
environment: output.environment
|
|
6523
|
-
? deserializeAws_json1_0Environment(output.environment, context)
|
|
6524
|
-
: undefined,
|
|
6459
|
+
environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
|
|
6525
6460
|
};
|
|
6526
6461
|
};
|
|
6527
6462
|
var deserializeAws_json1_0CancelServiceInstanceDeploymentOutput = function (output, context) {
|
|
6528
6463
|
return {
|
|
6529
|
-
serviceInstance: output.serviceInstance
|
|
6464
|
+
serviceInstance: output.serviceInstance != null
|
|
6530
6465
|
? deserializeAws_json1_0ServiceInstance(output.serviceInstance, context)
|
|
6531
6466
|
: undefined,
|
|
6532
6467
|
};
|
|
6533
6468
|
};
|
|
6534
6469
|
var deserializeAws_json1_0CancelServicePipelineDeploymentOutput = function (output, context) {
|
|
6535
6470
|
return {
|
|
6536
|
-
pipeline: output.pipeline
|
|
6537
|
-
? deserializeAws_json1_0ServicePipeline(output.pipeline, context)
|
|
6538
|
-
: undefined,
|
|
6471
|
+
pipeline: output.pipeline != null ? deserializeAws_json1_0ServicePipeline(output.pipeline, context) : undefined,
|
|
6539
6472
|
};
|
|
6540
6473
|
};
|
|
6541
6474
|
var deserializeAws_json1_0CompatibleEnvironmentTemplate = function (output, context) {
|
|
@@ -6558,20 +6491,18 @@ var deserializeAws_json1_0CompatibleEnvironmentTemplateList = function (output,
|
|
|
6558
6491
|
var deserializeAws_json1_0Component = function (output, context) {
|
|
6559
6492
|
return {
|
|
6560
6493
|
arn: __expectString(output.arn),
|
|
6561
|
-
createdAt: output.createdAt
|
|
6562
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6563
|
-
: undefined,
|
|
6494
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6564
6495
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
6565
6496
|
deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
|
|
6566
6497
|
description: __expectString(output.description),
|
|
6567
6498
|
environmentName: __expectString(output.environmentName),
|
|
6568
|
-
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt
|
|
6499
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
6569
6500
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
|
|
6570
6501
|
: undefined,
|
|
6571
|
-
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt
|
|
6502
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
|
|
6572
6503
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
|
|
6573
6504
|
: undefined,
|
|
6574
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6505
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6575
6506
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6576
6507
|
: undefined,
|
|
6577
6508
|
name: __expectString(output.name),
|
|
@@ -6583,19 +6514,17 @@ var deserializeAws_json1_0Component = function (output, context) {
|
|
|
6583
6514
|
var deserializeAws_json1_0ComponentSummary = function (output, context) {
|
|
6584
6515
|
return {
|
|
6585
6516
|
arn: __expectString(output.arn),
|
|
6586
|
-
createdAt: output.createdAt
|
|
6587
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6588
|
-
: undefined,
|
|
6517
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6589
6518
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
6590
6519
|
deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
|
|
6591
6520
|
environmentName: __expectString(output.environmentName),
|
|
6592
|
-
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt
|
|
6521
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
6593
6522
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
|
|
6594
6523
|
: undefined,
|
|
6595
|
-
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt
|
|
6524
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
|
|
6596
6525
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
|
|
6597
6526
|
: undefined,
|
|
6598
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6527
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6599
6528
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6600
6529
|
: undefined,
|
|
6601
6530
|
name: __expectString(output.name),
|
|
@@ -6621,140 +6550,124 @@ var deserializeAws_json1_0ConflictException = function (output, context) {
|
|
|
6621
6550
|
};
|
|
6622
6551
|
var deserializeAws_json1_0CreateComponentOutput = function (output, context) {
|
|
6623
6552
|
return {
|
|
6624
|
-
component: output.component
|
|
6625
|
-
? deserializeAws_json1_0Component(output.component, context)
|
|
6626
|
-
: undefined,
|
|
6553
|
+
component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
|
|
6627
6554
|
};
|
|
6628
6555
|
};
|
|
6629
6556
|
var deserializeAws_json1_0CreateEnvironmentAccountConnectionOutput = function (output, context) {
|
|
6630
6557
|
return {
|
|
6631
|
-
environmentAccountConnection: output.environmentAccountConnection
|
|
6558
|
+
environmentAccountConnection: output.environmentAccountConnection != null
|
|
6632
6559
|
? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
|
|
6633
6560
|
: undefined,
|
|
6634
6561
|
};
|
|
6635
6562
|
};
|
|
6636
6563
|
var deserializeAws_json1_0CreateEnvironmentOutput = function (output, context) {
|
|
6637
6564
|
return {
|
|
6638
|
-
environment: output.environment
|
|
6639
|
-
? deserializeAws_json1_0Environment(output.environment, context)
|
|
6640
|
-
: undefined,
|
|
6565
|
+
environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
|
|
6641
6566
|
};
|
|
6642
6567
|
};
|
|
6643
6568
|
var deserializeAws_json1_0CreateEnvironmentTemplateOutput = function (output, context) {
|
|
6644
6569
|
return {
|
|
6645
|
-
environmentTemplate: output.environmentTemplate
|
|
6570
|
+
environmentTemplate: output.environmentTemplate != null
|
|
6646
6571
|
? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
|
|
6647
6572
|
: undefined,
|
|
6648
6573
|
};
|
|
6649
6574
|
};
|
|
6650
6575
|
var deserializeAws_json1_0CreateEnvironmentTemplateVersionOutput = function (output, context) {
|
|
6651
6576
|
return {
|
|
6652
|
-
environmentTemplateVersion: output.environmentTemplateVersion
|
|
6577
|
+
environmentTemplateVersion: output.environmentTemplateVersion != null
|
|
6653
6578
|
? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
|
|
6654
6579
|
: undefined,
|
|
6655
6580
|
};
|
|
6656
6581
|
};
|
|
6657
6582
|
var deserializeAws_json1_0CreateRepositoryOutput = function (output, context) {
|
|
6658
6583
|
return {
|
|
6659
|
-
repository: output.repository
|
|
6660
|
-
? deserializeAws_json1_0Repository(output.repository, context)
|
|
6661
|
-
: undefined,
|
|
6584
|
+
repository: output.repository != null ? deserializeAws_json1_0Repository(output.repository, context) : undefined,
|
|
6662
6585
|
};
|
|
6663
6586
|
};
|
|
6664
6587
|
var deserializeAws_json1_0CreateServiceOutput = function (output, context) {
|
|
6665
6588
|
return {
|
|
6666
|
-
service: output.service
|
|
6667
|
-
? deserializeAws_json1_0Service(output.service, context)
|
|
6668
|
-
: undefined,
|
|
6589
|
+
service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
|
|
6669
6590
|
};
|
|
6670
6591
|
};
|
|
6671
6592
|
var deserializeAws_json1_0CreateServiceTemplateOutput = function (output, context) {
|
|
6672
6593
|
return {
|
|
6673
|
-
serviceTemplate: output.serviceTemplate
|
|
6594
|
+
serviceTemplate: output.serviceTemplate != null
|
|
6674
6595
|
? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
|
|
6675
6596
|
: undefined,
|
|
6676
6597
|
};
|
|
6677
6598
|
};
|
|
6678
6599
|
var deserializeAws_json1_0CreateServiceTemplateVersionOutput = function (output, context) {
|
|
6679
6600
|
return {
|
|
6680
|
-
serviceTemplateVersion: output.serviceTemplateVersion
|
|
6601
|
+
serviceTemplateVersion: output.serviceTemplateVersion != null
|
|
6681
6602
|
? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
|
|
6682
6603
|
: undefined,
|
|
6683
6604
|
};
|
|
6684
6605
|
};
|
|
6685
6606
|
var deserializeAws_json1_0CreateTemplateSyncConfigOutput = function (output, context) {
|
|
6686
6607
|
return {
|
|
6687
|
-
templateSyncConfig: output.templateSyncConfig
|
|
6608
|
+
templateSyncConfig: output.templateSyncConfig != null
|
|
6688
6609
|
? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
|
|
6689
6610
|
: undefined,
|
|
6690
6611
|
};
|
|
6691
6612
|
};
|
|
6692
6613
|
var deserializeAws_json1_0DeleteComponentOutput = function (output, context) {
|
|
6693
6614
|
return {
|
|
6694
|
-
component: output.component
|
|
6695
|
-
? deserializeAws_json1_0Component(output.component, context)
|
|
6696
|
-
: undefined,
|
|
6615
|
+
component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
|
|
6697
6616
|
};
|
|
6698
6617
|
};
|
|
6699
6618
|
var deserializeAws_json1_0DeleteEnvironmentAccountConnectionOutput = function (output, context) {
|
|
6700
6619
|
return {
|
|
6701
|
-
environmentAccountConnection: output.environmentAccountConnection
|
|
6620
|
+
environmentAccountConnection: output.environmentAccountConnection != null
|
|
6702
6621
|
? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
|
|
6703
6622
|
: undefined,
|
|
6704
6623
|
};
|
|
6705
6624
|
};
|
|
6706
6625
|
var deserializeAws_json1_0DeleteEnvironmentOutput = function (output, context) {
|
|
6707
6626
|
return {
|
|
6708
|
-
environment: output.environment
|
|
6709
|
-
? deserializeAws_json1_0Environment(output.environment, context)
|
|
6710
|
-
: undefined,
|
|
6627
|
+
environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
|
|
6711
6628
|
};
|
|
6712
6629
|
};
|
|
6713
6630
|
var deserializeAws_json1_0DeleteEnvironmentTemplateOutput = function (output, context) {
|
|
6714
6631
|
return {
|
|
6715
|
-
environmentTemplate: output.environmentTemplate
|
|
6632
|
+
environmentTemplate: output.environmentTemplate != null
|
|
6716
6633
|
? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
|
|
6717
6634
|
: undefined,
|
|
6718
6635
|
};
|
|
6719
6636
|
};
|
|
6720
6637
|
var deserializeAws_json1_0DeleteEnvironmentTemplateVersionOutput = function (output, context) {
|
|
6721
6638
|
return {
|
|
6722
|
-
environmentTemplateVersion: output.environmentTemplateVersion
|
|
6639
|
+
environmentTemplateVersion: output.environmentTemplateVersion != null
|
|
6723
6640
|
? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
|
|
6724
6641
|
: undefined,
|
|
6725
6642
|
};
|
|
6726
6643
|
};
|
|
6727
6644
|
var deserializeAws_json1_0DeleteRepositoryOutput = function (output, context) {
|
|
6728
6645
|
return {
|
|
6729
|
-
repository: output.repository
|
|
6730
|
-
? deserializeAws_json1_0Repository(output.repository, context)
|
|
6731
|
-
: undefined,
|
|
6646
|
+
repository: output.repository != null ? deserializeAws_json1_0Repository(output.repository, context) : undefined,
|
|
6732
6647
|
};
|
|
6733
6648
|
};
|
|
6734
6649
|
var deserializeAws_json1_0DeleteServiceOutput = function (output, context) {
|
|
6735
6650
|
return {
|
|
6736
|
-
service: output.service
|
|
6737
|
-
? deserializeAws_json1_0Service(output.service, context)
|
|
6738
|
-
: undefined,
|
|
6651
|
+
service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
|
|
6739
6652
|
};
|
|
6740
6653
|
};
|
|
6741
6654
|
var deserializeAws_json1_0DeleteServiceTemplateOutput = function (output, context) {
|
|
6742
6655
|
return {
|
|
6743
|
-
serviceTemplate: output.serviceTemplate
|
|
6656
|
+
serviceTemplate: output.serviceTemplate != null
|
|
6744
6657
|
? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
|
|
6745
6658
|
: undefined,
|
|
6746
6659
|
};
|
|
6747
6660
|
};
|
|
6748
6661
|
var deserializeAws_json1_0DeleteServiceTemplateVersionOutput = function (output, context) {
|
|
6749
6662
|
return {
|
|
6750
|
-
serviceTemplateVersion: output.serviceTemplateVersion
|
|
6663
|
+
serviceTemplateVersion: output.serviceTemplateVersion != null
|
|
6751
6664
|
? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
|
|
6752
6665
|
: undefined,
|
|
6753
6666
|
};
|
|
6754
6667
|
};
|
|
6755
6668
|
var deserializeAws_json1_0DeleteTemplateSyncConfigOutput = function (output, context) {
|
|
6756
6669
|
return {
|
|
6757
|
-
templateSyncConfig: output.templateSyncConfig
|
|
6670
|
+
templateSyncConfig: output.templateSyncConfig != null
|
|
6758
6671
|
? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
|
|
6759
6672
|
: undefined,
|
|
6760
6673
|
};
|
|
@@ -6763,24 +6676,22 @@ var deserializeAws_json1_0Environment = function (output, context) {
|
|
|
6763
6676
|
return {
|
|
6764
6677
|
arn: __expectString(output.arn),
|
|
6765
6678
|
componentRoleArn: __expectString(output.componentRoleArn),
|
|
6766
|
-
createdAt: output.createdAt
|
|
6767
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6768
|
-
: undefined,
|
|
6679
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6769
6680
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
6770
6681
|
deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
|
|
6771
6682
|
description: __expectString(output.description),
|
|
6772
6683
|
environmentAccountConnectionId: __expectString(output.environmentAccountConnectionId),
|
|
6773
6684
|
environmentAccountId: __expectString(output.environmentAccountId),
|
|
6774
|
-
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt
|
|
6685
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
6775
6686
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
|
|
6776
6687
|
: undefined,
|
|
6777
|
-
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt
|
|
6688
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
|
|
6778
6689
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
|
|
6779
6690
|
: undefined,
|
|
6780
6691
|
name: __expectString(output.name),
|
|
6781
6692
|
protonServiceRoleArn: __expectString(output.protonServiceRoleArn),
|
|
6782
6693
|
provisioning: __expectString(output.provisioning),
|
|
6783
|
-
provisioningRepository: output.provisioningRepository
|
|
6694
|
+
provisioningRepository: output.provisioningRepository != null
|
|
6784
6695
|
? deserializeAws_json1_0RepositoryBranch(output.provisioningRepository, context)
|
|
6785
6696
|
: undefined,
|
|
6786
6697
|
spec: __expectString(output.spec),
|
|
@@ -6796,11 +6707,11 @@ var deserializeAws_json1_0EnvironmentAccountConnection = function (output, conte
|
|
|
6796
6707
|
environmentAccountId: __expectString(output.environmentAccountId),
|
|
6797
6708
|
environmentName: __expectString(output.environmentName),
|
|
6798
6709
|
id: __expectString(output.id),
|
|
6799
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6710
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6800
6711
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6801
6712
|
: undefined,
|
|
6802
6713
|
managementAccountId: __expectString(output.managementAccountId),
|
|
6803
|
-
requestedAt: output.requestedAt
|
|
6714
|
+
requestedAt: output.requestedAt != null
|
|
6804
6715
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.requestedAt)))
|
|
6805
6716
|
: undefined,
|
|
6806
6717
|
roleArn: __expectString(output.roleArn),
|
|
@@ -6814,11 +6725,11 @@ var deserializeAws_json1_0EnvironmentAccountConnectionSummary = function (output
|
|
|
6814
6725
|
environmentAccountId: __expectString(output.environmentAccountId),
|
|
6815
6726
|
environmentName: __expectString(output.environmentName),
|
|
6816
6727
|
id: __expectString(output.id),
|
|
6817
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6728
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6818
6729
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6819
6730
|
: undefined,
|
|
6820
6731
|
managementAccountId: __expectString(output.managementAccountId),
|
|
6821
|
-
requestedAt: output.requestedAt
|
|
6732
|
+
requestedAt: output.requestedAt != null
|
|
6822
6733
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.requestedAt)))
|
|
6823
6734
|
: undefined,
|
|
6824
6735
|
roleArn: __expectString(output.roleArn),
|
|
@@ -6840,18 +6751,16 @@ var deserializeAws_json1_0EnvironmentSummary = function (output, context) {
|
|
|
6840
6751
|
return {
|
|
6841
6752
|
arn: __expectString(output.arn),
|
|
6842
6753
|
componentRoleArn: __expectString(output.componentRoleArn),
|
|
6843
|
-
createdAt: output.createdAt
|
|
6844
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6845
|
-
: undefined,
|
|
6754
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6846
6755
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
6847
6756
|
deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
|
|
6848
6757
|
description: __expectString(output.description),
|
|
6849
6758
|
environmentAccountConnectionId: __expectString(output.environmentAccountConnectionId),
|
|
6850
6759
|
environmentAccountId: __expectString(output.environmentAccountId),
|
|
6851
|
-
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt
|
|
6760
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
6852
6761
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
|
|
6853
6762
|
: undefined,
|
|
6854
|
-
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt
|
|
6763
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
|
|
6855
6764
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
|
|
6856
6765
|
: undefined,
|
|
6857
6766
|
name: __expectString(output.name),
|
|
@@ -6876,13 +6785,11 @@ var deserializeAws_json1_0EnvironmentSummaryList = function (output, context) {
|
|
|
6876
6785
|
var deserializeAws_json1_0EnvironmentTemplate = function (output, context) {
|
|
6877
6786
|
return {
|
|
6878
6787
|
arn: __expectString(output.arn),
|
|
6879
|
-
createdAt: output.createdAt
|
|
6880
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6881
|
-
: undefined,
|
|
6788
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6882
6789
|
description: __expectString(output.description),
|
|
6883
6790
|
displayName: __expectString(output.displayName),
|
|
6884
6791
|
encryptionKey: __expectString(output.encryptionKey),
|
|
6885
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6792
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6886
6793
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6887
6794
|
: undefined,
|
|
6888
6795
|
name: __expectString(output.name),
|
|
@@ -6893,12 +6800,10 @@ var deserializeAws_json1_0EnvironmentTemplate = function (output, context) {
|
|
|
6893
6800
|
var deserializeAws_json1_0EnvironmentTemplateSummary = function (output, context) {
|
|
6894
6801
|
return {
|
|
6895
6802
|
arn: __expectString(output.arn),
|
|
6896
|
-
createdAt: output.createdAt
|
|
6897
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6898
|
-
: undefined,
|
|
6803
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6899
6804
|
description: __expectString(output.description),
|
|
6900
6805
|
displayName: __expectString(output.displayName),
|
|
6901
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6806
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6902
6807
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6903
6808
|
: undefined,
|
|
6904
6809
|
name: __expectString(output.name),
|
|
@@ -6920,11 +6825,9 @@ var deserializeAws_json1_0EnvironmentTemplateSummaryList = function (output, con
|
|
|
6920
6825
|
var deserializeAws_json1_0EnvironmentTemplateVersion = function (output, context) {
|
|
6921
6826
|
return {
|
|
6922
6827
|
arn: __expectString(output.arn),
|
|
6923
|
-
createdAt: output.createdAt
|
|
6924
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6925
|
-
: undefined,
|
|
6828
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6926
6829
|
description: __expectString(output.description),
|
|
6927
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6830
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6928
6831
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6929
6832
|
: undefined,
|
|
6930
6833
|
majorVersion: __expectString(output.majorVersion),
|
|
@@ -6939,11 +6842,9 @@ var deserializeAws_json1_0EnvironmentTemplateVersion = function (output, context
|
|
|
6939
6842
|
var deserializeAws_json1_0EnvironmentTemplateVersionSummary = function (output, context) {
|
|
6940
6843
|
return {
|
|
6941
6844
|
arn: __expectString(output.arn),
|
|
6942
|
-
createdAt: output.createdAt
|
|
6943
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6944
|
-
: undefined,
|
|
6845
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
6945
6846
|
description: __expectString(output.description),
|
|
6946
|
-
lastModifiedAt: output.lastModifiedAt
|
|
6847
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
6947
6848
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
6948
6849
|
: undefined,
|
|
6949
6850
|
majorVersion: __expectString(output.majorVersion),
|
|
@@ -6967,106 +6868,92 @@ var deserializeAws_json1_0EnvironmentTemplateVersionSummaryList = function (outp
|
|
|
6967
6868
|
};
|
|
6968
6869
|
var deserializeAws_json1_0GetAccountSettingsOutput = function (output, context) {
|
|
6969
6870
|
return {
|
|
6970
|
-
accountSettings: output.accountSettings
|
|
6871
|
+
accountSettings: output.accountSettings != null
|
|
6971
6872
|
? deserializeAws_json1_0AccountSettings(output.accountSettings, context)
|
|
6972
6873
|
: undefined,
|
|
6973
6874
|
};
|
|
6974
6875
|
};
|
|
6975
6876
|
var deserializeAws_json1_0GetComponentOutput = function (output, context) {
|
|
6976
6877
|
return {
|
|
6977
|
-
component: output.component
|
|
6978
|
-
? deserializeAws_json1_0Component(output.component, context)
|
|
6979
|
-
: undefined,
|
|
6878
|
+
component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
|
|
6980
6879
|
};
|
|
6981
6880
|
};
|
|
6982
6881
|
var deserializeAws_json1_0GetEnvironmentAccountConnectionOutput = function (output, context) {
|
|
6983
6882
|
return {
|
|
6984
|
-
environmentAccountConnection: output.environmentAccountConnection
|
|
6883
|
+
environmentAccountConnection: output.environmentAccountConnection != null
|
|
6985
6884
|
? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
|
|
6986
6885
|
: undefined,
|
|
6987
6886
|
};
|
|
6988
6887
|
};
|
|
6989
6888
|
var deserializeAws_json1_0GetEnvironmentOutput = function (output, context) {
|
|
6990
6889
|
return {
|
|
6991
|
-
environment: output.environment
|
|
6992
|
-
? deserializeAws_json1_0Environment(output.environment, context)
|
|
6993
|
-
: undefined,
|
|
6890
|
+
environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
|
|
6994
6891
|
};
|
|
6995
6892
|
};
|
|
6996
6893
|
var deserializeAws_json1_0GetEnvironmentTemplateOutput = function (output, context) {
|
|
6997
6894
|
return {
|
|
6998
|
-
environmentTemplate: output.environmentTemplate
|
|
6895
|
+
environmentTemplate: output.environmentTemplate != null
|
|
6999
6896
|
? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
|
|
7000
6897
|
: undefined,
|
|
7001
6898
|
};
|
|
7002
6899
|
};
|
|
7003
6900
|
var deserializeAws_json1_0GetEnvironmentTemplateVersionOutput = function (output, context) {
|
|
7004
6901
|
return {
|
|
7005
|
-
environmentTemplateVersion: output.environmentTemplateVersion
|
|
6902
|
+
environmentTemplateVersion: output.environmentTemplateVersion != null
|
|
7006
6903
|
? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
|
|
7007
6904
|
: undefined,
|
|
7008
6905
|
};
|
|
7009
6906
|
};
|
|
7010
6907
|
var deserializeAws_json1_0GetRepositoryOutput = function (output, context) {
|
|
7011
6908
|
return {
|
|
7012
|
-
repository: output.repository
|
|
7013
|
-
? deserializeAws_json1_0Repository(output.repository, context)
|
|
7014
|
-
: undefined,
|
|
6909
|
+
repository: output.repository != null ? deserializeAws_json1_0Repository(output.repository, context) : undefined,
|
|
7015
6910
|
};
|
|
7016
6911
|
};
|
|
7017
6912
|
var deserializeAws_json1_0GetRepositorySyncStatusOutput = function (output, context) {
|
|
7018
6913
|
return {
|
|
7019
|
-
latestSync: output.latestSync
|
|
7020
|
-
? deserializeAws_json1_0RepositorySyncAttempt(output.latestSync, context)
|
|
7021
|
-
: undefined,
|
|
6914
|
+
latestSync: output.latestSync != null ? deserializeAws_json1_0RepositorySyncAttempt(output.latestSync, context) : undefined,
|
|
7022
6915
|
};
|
|
7023
6916
|
};
|
|
7024
6917
|
var deserializeAws_json1_0GetServiceInstanceOutput = function (output, context) {
|
|
7025
6918
|
return {
|
|
7026
|
-
serviceInstance: output.serviceInstance
|
|
6919
|
+
serviceInstance: output.serviceInstance != null
|
|
7027
6920
|
? deserializeAws_json1_0ServiceInstance(output.serviceInstance, context)
|
|
7028
6921
|
: undefined,
|
|
7029
6922
|
};
|
|
7030
6923
|
};
|
|
7031
6924
|
var deserializeAws_json1_0GetServiceOutput = function (output, context) {
|
|
7032
6925
|
return {
|
|
7033
|
-
service: output.service
|
|
7034
|
-
? deserializeAws_json1_0Service(output.service, context)
|
|
7035
|
-
: undefined,
|
|
6926
|
+
service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
|
|
7036
6927
|
};
|
|
7037
6928
|
};
|
|
7038
6929
|
var deserializeAws_json1_0GetServiceTemplateOutput = function (output, context) {
|
|
7039
6930
|
return {
|
|
7040
|
-
serviceTemplate: output.serviceTemplate
|
|
6931
|
+
serviceTemplate: output.serviceTemplate != null
|
|
7041
6932
|
? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
|
|
7042
6933
|
: undefined,
|
|
7043
6934
|
};
|
|
7044
6935
|
};
|
|
7045
6936
|
var deserializeAws_json1_0GetServiceTemplateVersionOutput = function (output, context) {
|
|
7046
6937
|
return {
|
|
7047
|
-
serviceTemplateVersion: output.serviceTemplateVersion
|
|
6938
|
+
serviceTemplateVersion: output.serviceTemplateVersion != null
|
|
7048
6939
|
? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
|
|
7049
6940
|
: undefined,
|
|
7050
6941
|
};
|
|
7051
6942
|
};
|
|
7052
6943
|
var deserializeAws_json1_0GetTemplateSyncConfigOutput = function (output, context) {
|
|
7053
6944
|
return {
|
|
7054
|
-
templateSyncConfig: output.templateSyncConfig
|
|
6945
|
+
templateSyncConfig: output.templateSyncConfig != null
|
|
7055
6946
|
? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
|
|
7056
6947
|
: undefined,
|
|
7057
6948
|
};
|
|
7058
6949
|
};
|
|
7059
6950
|
var deserializeAws_json1_0GetTemplateSyncStatusOutput = function (output, context) {
|
|
7060
6951
|
return {
|
|
7061
|
-
desiredState: output.desiredState
|
|
7062
|
-
|
|
7063
|
-
: undefined,
|
|
7064
|
-
latestSuccessfulSync: output.latestSuccessfulSync !== undefined && output.latestSuccessfulSync !== null
|
|
6952
|
+
desiredState: output.desiredState != null ? deserializeAws_json1_0Revision(output.desiredState, context) : undefined,
|
|
6953
|
+
latestSuccessfulSync: output.latestSuccessfulSync != null
|
|
7065
6954
|
? deserializeAws_json1_0ResourceSyncAttempt(output.latestSuccessfulSync, context)
|
|
7066
6955
|
: undefined,
|
|
7067
|
-
latestSync: output.latestSync
|
|
7068
|
-
? deserializeAws_json1_0ResourceSyncAttempt(output.latestSync, context)
|
|
7069
|
-
: undefined,
|
|
6956
|
+
latestSync: output.latestSync != null ? deserializeAws_json1_0ResourceSyncAttempt(output.latestSync, context) : undefined,
|
|
7070
6957
|
};
|
|
7071
6958
|
};
|
|
7072
6959
|
var deserializeAws_json1_0InternalServerException = function (output, context) {
|
|
@@ -7077,30 +6964,26 @@ var deserializeAws_json1_0InternalServerException = function (output, context) {
|
|
|
7077
6964
|
var deserializeAws_json1_0ListComponentOutputsOutput = function (output, context) {
|
|
7078
6965
|
return {
|
|
7079
6966
|
nextToken: __expectString(output.nextToken),
|
|
7080
|
-
outputs: output.outputs
|
|
7081
|
-
? deserializeAws_json1_0OutputsList(output.outputs, context)
|
|
7082
|
-
: undefined,
|
|
6967
|
+
outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
|
|
7083
6968
|
};
|
|
7084
6969
|
};
|
|
7085
6970
|
var deserializeAws_json1_0ListComponentProvisionedResourcesOutput = function (output, context) {
|
|
7086
6971
|
return {
|
|
7087
6972
|
nextToken: __expectString(output.nextToken),
|
|
7088
|
-
provisionedResources: output.provisionedResources
|
|
6973
|
+
provisionedResources: output.provisionedResources != null
|
|
7089
6974
|
? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
|
|
7090
6975
|
: undefined,
|
|
7091
6976
|
};
|
|
7092
6977
|
};
|
|
7093
6978
|
var deserializeAws_json1_0ListComponentsOutput = function (output, context) {
|
|
7094
6979
|
return {
|
|
7095
|
-
components: output.components
|
|
7096
|
-
? deserializeAws_json1_0ComponentSummaryList(output.components, context)
|
|
7097
|
-
: undefined,
|
|
6980
|
+
components: output.components != null ? deserializeAws_json1_0ComponentSummaryList(output.components, context) : undefined,
|
|
7098
6981
|
nextToken: __expectString(output.nextToken),
|
|
7099
6982
|
};
|
|
7100
6983
|
};
|
|
7101
6984
|
var deserializeAws_json1_0ListEnvironmentAccountConnectionsOutput = function (output, context) {
|
|
7102
6985
|
return {
|
|
7103
|
-
environmentAccountConnections: output.environmentAccountConnections
|
|
6986
|
+
environmentAccountConnections: output.environmentAccountConnections != null
|
|
7104
6987
|
? deserializeAws_json1_0EnvironmentAccountConnectionSummaryList(output.environmentAccountConnections, context)
|
|
7105
6988
|
: undefined,
|
|
7106
6989
|
nextToken: __expectString(output.nextToken),
|
|
@@ -7109,22 +6992,20 @@ var deserializeAws_json1_0ListEnvironmentAccountConnectionsOutput = function (ou
|
|
|
7109
6992
|
var deserializeAws_json1_0ListEnvironmentOutputsOutput = function (output, context) {
|
|
7110
6993
|
return {
|
|
7111
6994
|
nextToken: __expectString(output.nextToken),
|
|
7112
|
-
outputs: output.outputs
|
|
7113
|
-
? deserializeAws_json1_0OutputsList(output.outputs, context)
|
|
7114
|
-
: undefined,
|
|
6995
|
+
outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
|
|
7115
6996
|
};
|
|
7116
6997
|
};
|
|
7117
6998
|
var deserializeAws_json1_0ListEnvironmentProvisionedResourcesOutput = function (output, context) {
|
|
7118
6999
|
return {
|
|
7119
7000
|
nextToken: __expectString(output.nextToken),
|
|
7120
|
-
provisionedResources: output.provisionedResources
|
|
7001
|
+
provisionedResources: output.provisionedResources != null
|
|
7121
7002
|
? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
|
|
7122
7003
|
: undefined,
|
|
7123
7004
|
};
|
|
7124
7005
|
};
|
|
7125
7006
|
var deserializeAws_json1_0ListEnvironmentsOutput = function (output, context) {
|
|
7126
7007
|
return {
|
|
7127
|
-
environments: output.environments
|
|
7008
|
+
environments: output.environments != null
|
|
7128
7009
|
? deserializeAws_json1_0EnvironmentSummaryList(output.environments, context)
|
|
7129
7010
|
: undefined,
|
|
7130
7011
|
nextToken: __expectString(output.nextToken),
|
|
@@ -7133,7 +7014,7 @@ var deserializeAws_json1_0ListEnvironmentsOutput = function (output, context) {
|
|
|
7133
7014
|
var deserializeAws_json1_0ListEnvironmentTemplatesOutput = function (output, context) {
|
|
7134
7015
|
return {
|
|
7135
7016
|
nextToken: __expectString(output.nextToken),
|
|
7136
|
-
templates: output.templates
|
|
7017
|
+
templates: output.templates != null
|
|
7137
7018
|
? deserializeAws_json1_0EnvironmentTemplateSummaryList(output.templates, context)
|
|
7138
7019
|
: undefined,
|
|
7139
7020
|
};
|
|
@@ -7141,7 +7022,7 @@ var deserializeAws_json1_0ListEnvironmentTemplatesOutput = function (output, con
|
|
|
7141
7022
|
var deserializeAws_json1_0ListEnvironmentTemplateVersionsOutput = function (output, context) {
|
|
7142
7023
|
return {
|
|
7143
7024
|
nextToken: __expectString(output.nextToken),
|
|
7144
|
-
templateVersions: output.templateVersions
|
|
7025
|
+
templateVersions: output.templateVersions != null
|
|
7145
7026
|
? deserializeAws_json1_0EnvironmentTemplateVersionSummaryList(output.templateVersions, context)
|
|
7146
7027
|
: undefined,
|
|
7147
7028
|
};
|
|
@@ -7149,7 +7030,7 @@ var deserializeAws_json1_0ListEnvironmentTemplateVersionsOutput = function (outp
|
|
|
7149
7030
|
var deserializeAws_json1_0ListRepositoriesOutput = function (output, context) {
|
|
7150
7031
|
return {
|
|
7151
7032
|
nextToken: __expectString(output.nextToken),
|
|
7152
|
-
repositories: output.repositories
|
|
7033
|
+
repositories: output.repositories != null
|
|
7153
7034
|
? deserializeAws_json1_0RepositorySummaryList(output.repositories, context)
|
|
7154
7035
|
: undefined,
|
|
7155
7036
|
};
|
|
@@ -7157,7 +7038,7 @@ var deserializeAws_json1_0ListRepositoriesOutput = function (output, context) {
|
|
|
7157
7038
|
var deserializeAws_json1_0ListRepositorySyncDefinitionsOutput = function (output, context) {
|
|
7158
7039
|
return {
|
|
7159
7040
|
nextToken: __expectString(output.nextToken),
|
|
7160
|
-
syncDefinitions: output.syncDefinitions
|
|
7041
|
+
syncDefinitions: output.syncDefinitions != null
|
|
7161
7042
|
? deserializeAws_json1_0RepositorySyncDefinitionList(output.syncDefinitions, context)
|
|
7162
7043
|
: undefined,
|
|
7163
7044
|
};
|
|
@@ -7165,15 +7046,13 @@ var deserializeAws_json1_0ListRepositorySyncDefinitionsOutput = function (output
|
|
|
7165
7046
|
var deserializeAws_json1_0ListServiceInstanceOutputsOutput = function (output, context) {
|
|
7166
7047
|
return {
|
|
7167
7048
|
nextToken: __expectString(output.nextToken),
|
|
7168
|
-
outputs: output.outputs
|
|
7169
|
-
? deserializeAws_json1_0OutputsList(output.outputs, context)
|
|
7170
|
-
: undefined,
|
|
7049
|
+
outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
|
|
7171
7050
|
};
|
|
7172
7051
|
};
|
|
7173
7052
|
var deserializeAws_json1_0ListServiceInstanceProvisionedResourcesOutput = function (output, context) {
|
|
7174
7053
|
return {
|
|
7175
7054
|
nextToken: __expectString(output.nextToken),
|
|
7176
|
-
provisionedResources: output.provisionedResources
|
|
7055
|
+
provisionedResources: output.provisionedResources != null
|
|
7177
7056
|
? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
|
|
7178
7057
|
: undefined,
|
|
7179
7058
|
};
|
|
@@ -7181,7 +7060,7 @@ var deserializeAws_json1_0ListServiceInstanceProvisionedResourcesOutput = functi
|
|
|
7181
7060
|
var deserializeAws_json1_0ListServiceInstancesOutput = function (output, context) {
|
|
7182
7061
|
return {
|
|
7183
7062
|
nextToken: __expectString(output.nextToken),
|
|
7184
|
-
serviceInstances: output.serviceInstances
|
|
7063
|
+
serviceInstances: output.serviceInstances != null
|
|
7185
7064
|
? deserializeAws_json1_0ServiceInstanceSummaryList(output.serviceInstances, context)
|
|
7186
7065
|
: undefined,
|
|
7187
7066
|
};
|
|
@@ -7189,15 +7068,13 @@ var deserializeAws_json1_0ListServiceInstancesOutput = function (output, context
|
|
|
7189
7068
|
var deserializeAws_json1_0ListServicePipelineOutputsOutput = function (output, context) {
|
|
7190
7069
|
return {
|
|
7191
7070
|
nextToken: __expectString(output.nextToken),
|
|
7192
|
-
outputs: output.outputs
|
|
7193
|
-
? deserializeAws_json1_0OutputsList(output.outputs, context)
|
|
7194
|
-
: undefined,
|
|
7071
|
+
outputs: output.outputs != null ? deserializeAws_json1_0OutputsList(output.outputs, context) : undefined,
|
|
7195
7072
|
};
|
|
7196
7073
|
};
|
|
7197
7074
|
var deserializeAws_json1_0ListServicePipelineProvisionedResourcesOutput = function (output, context) {
|
|
7198
7075
|
return {
|
|
7199
7076
|
nextToken: __expectString(output.nextToken),
|
|
7200
|
-
provisionedResources: output.provisionedResources
|
|
7077
|
+
provisionedResources: output.provisionedResources != null
|
|
7201
7078
|
? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
|
|
7202
7079
|
: undefined,
|
|
7203
7080
|
};
|
|
@@ -7205,15 +7082,13 @@ var deserializeAws_json1_0ListServicePipelineProvisionedResourcesOutput = functi
|
|
|
7205
7082
|
var deserializeAws_json1_0ListServicesOutput = function (output, context) {
|
|
7206
7083
|
return {
|
|
7207
7084
|
nextToken: __expectString(output.nextToken),
|
|
7208
|
-
services: output.services
|
|
7209
|
-
? deserializeAws_json1_0ServiceSummaryList(output.services, context)
|
|
7210
|
-
: undefined,
|
|
7085
|
+
services: output.services != null ? deserializeAws_json1_0ServiceSummaryList(output.services, context) : undefined,
|
|
7211
7086
|
};
|
|
7212
7087
|
};
|
|
7213
7088
|
var deserializeAws_json1_0ListServiceTemplatesOutput = function (output, context) {
|
|
7214
7089
|
return {
|
|
7215
7090
|
nextToken: __expectString(output.nextToken),
|
|
7216
|
-
templates: output.templates
|
|
7091
|
+
templates: output.templates != null
|
|
7217
7092
|
? deserializeAws_json1_0ServiceTemplateSummaryList(output.templates, context)
|
|
7218
7093
|
: undefined,
|
|
7219
7094
|
};
|
|
@@ -7221,7 +7096,7 @@ var deserializeAws_json1_0ListServiceTemplatesOutput = function (output, context
|
|
|
7221
7096
|
var deserializeAws_json1_0ListServiceTemplateVersionsOutput = function (output, context) {
|
|
7222
7097
|
return {
|
|
7223
7098
|
nextToken: __expectString(output.nextToken),
|
|
7224
|
-
templateVersions: output.templateVersions
|
|
7099
|
+
templateVersions: output.templateVersions != null
|
|
7225
7100
|
? deserializeAws_json1_0ServiceTemplateVersionSummaryList(output.templateVersions, context)
|
|
7226
7101
|
: undefined,
|
|
7227
7102
|
};
|
|
@@ -7229,9 +7104,7 @@ var deserializeAws_json1_0ListServiceTemplateVersionsOutput = function (output,
|
|
|
7229
7104
|
var deserializeAws_json1_0ListTagsForResourceOutput = function (output, context) {
|
|
7230
7105
|
return {
|
|
7231
7106
|
nextToken: __expectString(output.nextToken),
|
|
7232
|
-
tags: output.tags
|
|
7233
|
-
? deserializeAws_json1_0TagList(output.tags, context)
|
|
7234
|
-
: undefined,
|
|
7107
|
+
tags: output.tags != null ? deserializeAws_json1_0TagList(output.tags, context) : undefined,
|
|
7235
7108
|
};
|
|
7236
7109
|
};
|
|
7237
7110
|
var deserializeAws_json1_0NotifyResourceDeploymentStatusChangeOutput = function (output, context) {
|
|
@@ -7274,7 +7147,7 @@ var deserializeAws_json1_0ProvisionedResourceList = function (output, context) {
|
|
|
7274
7147
|
};
|
|
7275
7148
|
var deserializeAws_json1_0RejectEnvironmentAccountConnectionOutput = function (output, context) {
|
|
7276
7149
|
return {
|
|
7277
|
-
environmentAccountConnection: output.environmentAccountConnection
|
|
7150
|
+
environmentAccountConnection: output.environmentAccountConnection != null
|
|
7278
7151
|
? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
|
|
7279
7152
|
: undefined,
|
|
7280
7153
|
};
|
|
@@ -7316,12 +7189,8 @@ var deserializeAws_json1_0RepositorySummaryList = function (output, context) {
|
|
|
7316
7189
|
};
|
|
7317
7190
|
var deserializeAws_json1_0RepositorySyncAttempt = function (output, context) {
|
|
7318
7191
|
return {
|
|
7319
|
-
events: output.events
|
|
7320
|
-
|
|
7321
|
-
: undefined,
|
|
7322
|
-
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
7323
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
|
|
7324
|
-
: undefined,
|
|
7192
|
+
events: output.events != null ? deserializeAws_json1_0RepositorySyncEvents(output.events, context) : undefined,
|
|
7193
|
+
startedAt: output.startedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt))) : undefined,
|
|
7325
7194
|
status: __expectString(output.status),
|
|
7326
7195
|
};
|
|
7327
7196
|
};
|
|
@@ -7348,9 +7217,7 @@ var deserializeAws_json1_0RepositorySyncEvent = function (output, context) {
|
|
|
7348
7217
|
return {
|
|
7349
7218
|
event: __expectString(output.event),
|
|
7350
7219
|
externalId: __expectString(output.externalId),
|
|
7351
|
-
time: output.time
|
|
7352
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.time)))
|
|
7353
|
-
: undefined,
|
|
7220
|
+
time: output.time != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.time))) : undefined,
|
|
7354
7221
|
type: __expectString(output.type),
|
|
7355
7222
|
};
|
|
7356
7223
|
};
|
|
@@ -7372,29 +7239,19 @@ var deserializeAws_json1_0ResourceNotFoundException = function (output, context)
|
|
|
7372
7239
|
};
|
|
7373
7240
|
var deserializeAws_json1_0ResourceSyncAttempt = function (output, context) {
|
|
7374
7241
|
return {
|
|
7375
|
-
events: output.events
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
initialRevision: output.initialRevision !== undefined && output.initialRevision !== null
|
|
7379
|
-
? deserializeAws_json1_0Revision(output.initialRevision, context)
|
|
7380
|
-
: undefined,
|
|
7381
|
-
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
7382
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
|
|
7383
|
-
: undefined,
|
|
7242
|
+
events: output.events != null ? deserializeAws_json1_0ResourceSyncEvents(output.events, context) : undefined,
|
|
7243
|
+
initialRevision: output.initialRevision != null ? deserializeAws_json1_0Revision(output.initialRevision, context) : undefined,
|
|
7244
|
+
startedAt: output.startedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt))) : undefined,
|
|
7384
7245
|
status: __expectString(output.status),
|
|
7385
7246
|
target: __expectString(output.target),
|
|
7386
|
-
targetRevision: output.targetRevision
|
|
7387
|
-
? deserializeAws_json1_0Revision(output.targetRevision, context)
|
|
7388
|
-
: undefined,
|
|
7247
|
+
targetRevision: output.targetRevision != null ? deserializeAws_json1_0Revision(output.targetRevision, context) : undefined,
|
|
7389
7248
|
};
|
|
7390
7249
|
};
|
|
7391
7250
|
var deserializeAws_json1_0ResourceSyncEvent = function (output, context) {
|
|
7392
7251
|
return {
|
|
7393
7252
|
event: __expectString(output.event),
|
|
7394
7253
|
externalId: __expectString(output.externalId),
|
|
7395
|
-
time: output.time
|
|
7396
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.time)))
|
|
7397
|
-
: undefined,
|
|
7254
|
+
time: output.time != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.time))) : undefined,
|
|
7398
7255
|
type: __expectString(output.type),
|
|
7399
7256
|
};
|
|
7400
7257
|
};
|
|
@@ -7422,17 +7279,13 @@ var deserializeAws_json1_0Service = function (output, context) {
|
|
|
7422
7279
|
return {
|
|
7423
7280
|
arn: __expectString(output.arn),
|
|
7424
7281
|
branchName: __expectString(output.branchName),
|
|
7425
|
-
createdAt: output.createdAt
|
|
7426
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7427
|
-
: undefined,
|
|
7282
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7428
7283
|
description: __expectString(output.description),
|
|
7429
|
-
lastModifiedAt: output.lastModifiedAt
|
|
7284
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
7430
7285
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
7431
7286
|
: undefined,
|
|
7432
7287
|
name: __expectString(output.name),
|
|
7433
|
-
pipeline: output.pipeline
|
|
7434
|
-
? deserializeAws_json1_0ServicePipeline(output.pipeline, context)
|
|
7435
|
-
: undefined,
|
|
7288
|
+
pipeline: output.pipeline != null ? deserializeAws_json1_0ServicePipeline(output.pipeline, context) : undefined,
|
|
7436
7289
|
repositoryConnectionArn: __expectString(output.repositoryConnectionArn),
|
|
7437
7290
|
repositoryId: __expectString(output.repositoryId),
|
|
7438
7291
|
spec: __expectString(output.spec),
|
|
@@ -7444,16 +7297,14 @@ var deserializeAws_json1_0Service = function (output, context) {
|
|
|
7444
7297
|
var deserializeAws_json1_0ServiceInstance = function (output, context) {
|
|
7445
7298
|
return {
|
|
7446
7299
|
arn: __expectString(output.arn),
|
|
7447
|
-
createdAt: output.createdAt
|
|
7448
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7449
|
-
: undefined,
|
|
7300
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7450
7301
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
7451
7302
|
deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
|
|
7452
7303
|
environmentName: __expectString(output.environmentName),
|
|
7453
|
-
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt
|
|
7304
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
7454
7305
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
|
|
7455
7306
|
: undefined,
|
|
7456
|
-
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt
|
|
7307
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
|
|
7457
7308
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
|
|
7458
7309
|
: undefined,
|
|
7459
7310
|
name: __expectString(output.name),
|
|
@@ -7467,16 +7318,14 @@ var deserializeAws_json1_0ServiceInstance = function (output, context) {
|
|
|
7467
7318
|
var deserializeAws_json1_0ServiceInstanceSummary = function (output, context) {
|
|
7468
7319
|
return {
|
|
7469
7320
|
arn: __expectString(output.arn),
|
|
7470
|
-
createdAt: output.createdAt
|
|
7471
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7472
|
-
: undefined,
|
|
7321
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7473
7322
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
7474
7323
|
deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
|
|
7475
7324
|
environmentName: __expectString(output.environmentName),
|
|
7476
|
-
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt
|
|
7325
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
7477
7326
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
|
|
7478
7327
|
: undefined,
|
|
7479
|
-
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt
|
|
7328
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
|
|
7480
7329
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
|
|
7481
7330
|
: undefined,
|
|
7482
7331
|
name: __expectString(output.name),
|
|
@@ -7500,15 +7349,13 @@ var deserializeAws_json1_0ServiceInstanceSummaryList = function (output, context
|
|
|
7500
7349
|
var deserializeAws_json1_0ServicePipeline = function (output, context) {
|
|
7501
7350
|
return {
|
|
7502
7351
|
arn: __expectString(output.arn),
|
|
7503
|
-
createdAt: output.createdAt
|
|
7504
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7505
|
-
: undefined,
|
|
7352
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7506
7353
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
7507
7354
|
deploymentStatusMessage: __expectString(output.deploymentStatusMessage),
|
|
7508
|
-
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt
|
|
7355
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
7509
7356
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentAttemptedAt)))
|
|
7510
7357
|
: undefined,
|
|
7511
|
-
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt
|
|
7358
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt != null
|
|
7512
7359
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastDeploymentSucceededAt)))
|
|
7513
7360
|
: undefined,
|
|
7514
7361
|
spec: __expectString(output.spec),
|
|
@@ -7525,11 +7372,9 @@ var deserializeAws_json1_0ServiceQuotaExceededException = function (output, cont
|
|
|
7525
7372
|
var deserializeAws_json1_0ServiceSummary = function (output, context) {
|
|
7526
7373
|
return {
|
|
7527
7374
|
arn: __expectString(output.arn),
|
|
7528
|
-
createdAt: output.createdAt
|
|
7529
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7530
|
-
: undefined,
|
|
7375
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7531
7376
|
description: __expectString(output.description),
|
|
7532
|
-
lastModifiedAt: output.lastModifiedAt
|
|
7377
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
7533
7378
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
7534
7379
|
: undefined,
|
|
7535
7380
|
name: __expectString(output.name),
|
|
@@ -7552,13 +7397,11 @@ var deserializeAws_json1_0ServiceSummaryList = function (output, context) {
|
|
|
7552
7397
|
var deserializeAws_json1_0ServiceTemplate = function (output, context) {
|
|
7553
7398
|
return {
|
|
7554
7399
|
arn: __expectString(output.arn),
|
|
7555
|
-
createdAt: output.createdAt
|
|
7556
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7557
|
-
: undefined,
|
|
7400
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7558
7401
|
description: __expectString(output.description),
|
|
7559
7402
|
displayName: __expectString(output.displayName),
|
|
7560
7403
|
encryptionKey: __expectString(output.encryptionKey),
|
|
7561
|
-
lastModifiedAt: output.lastModifiedAt
|
|
7404
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
7562
7405
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
7563
7406
|
: undefined,
|
|
7564
7407
|
name: __expectString(output.name),
|
|
@@ -7569,12 +7412,10 @@ var deserializeAws_json1_0ServiceTemplate = function (output, context) {
|
|
|
7569
7412
|
var deserializeAws_json1_0ServiceTemplateSummary = function (output, context) {
|
|
7570
7413
|
return {
|
|
7571
7414
|
arn: __expectString(output.arn),
|
|
7572
|
-
createdAt: output.createdAt
|
|
7573
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7574
|
-
: undefined,
|
|
7415
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7575
7416
|
description: __expectString(output.description),
|
|
7576
7417
|
displayName: __expectString(output.displayName),
|
|
7577
|
-
lastModifiedAt: output.lastModifiedAt
|
|
7418
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
7578
7419
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
7579
7420
|
: undefined,
|
|
7580
7421
|
name: __expectString(output.name),
|
|
@@ -7607,14 +7448,12 @@ var deserializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = fun
|
|
|
7607
7448
|
var deserializeAws_json1_0ServiceTemplateVersion = function (output, context) {
|
|
7608
7449
|
return {
|
|
7609
7450
|
arn: __expectString(output.arn),
|
|
7610
|
-
compatibleEnvironmentTemplates: output.compatibleEnvironmentTemplates
|
|
7451
|
+
compatibleEnvironmentTemplates: output.compatibleEnvironmentTemplates != null
|
|
7611
7452
|
? deserializeAws_json1_0CompatibleEnvironmentTemplateList(output.compatibleEnvironmentTemplates, context)
|
|
7612
7453
|
: undefined,
|
|
7613
|
-
createdAt: output.createdAt
|
|
7614
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7615
|
-
: undefined,
|
|
7454
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7616
7455
|
description: __expectString(output.description),
|
|
7617
|
-
lastModifiedAt: output.lastModifiedAt
|
|
7456
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
7618
7457
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
7619
7458
|
: undefined,
|
|
7620
7459
|
majorVersion: __expectString(output.majorVersion),
|
|
@@ -7623,7 +7462,7 @@ var deserializeAws_json1_0ServiceTemplateVersion = function (output, context) {
|
|
|
7623
7462
|
schema: __expectString(output.schema),
|
|
7624
7463
|
status: __expectString(output.status),
|
|
7625
7464
|
statusMessage: __expectString(output.statusMessage),
|
|
7626
|
-
supportedComponentSources: output.supportedComponentSources
|
|
7465
|
+
supportedComponentSources: output.supportedComponentSources != null
|
|
7627
7466
|
? deserializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(output.supportedComponentSources, context)
|
|
7628
7467
|
: undefined,
|
|
7629
7468
|
templateName: __expectString(output.templateName),
|
|
@@ -7632,11 +7471,9 @@ var deserializeAws_json1_0ServiceTemplateVersion = function (output, context) {
|
|
|
7632
7471
|
var deserializeAws_json1_0ServiceTemplateVersionSummary = function (output, context) {
|
|
7633
7472
|
return {
|
|
7634
7473
|
arn: __expectString(output.arn),
|
|
7635
|
-
createdAt: output.createdAt
|
|
7636
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7637
|
-
: undefined,
|
|
7474
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
7638
7475
|
description: __expectString(output.description),
|
|
7639
|
-
lastModifiedAt: output.lastModifiedAt
|
|
7476
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
7640
7477
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedAt)))
|
|
7641
7478
|
: undefined,
|
|
7642
7479
|
majorVersion: __expectString(output.majorVersion),
|
|
@@ -7698,84 +7535,76 @@ var deserializeAws_json1_0UntagResourceOutput = function (output, context) {
|
|
|
7698
7535
|
};
|
|
7699
7536
|
var deserializeAws_json1_0UpdateAccountSettingsOutput = function (output, context) {
|
|
7700
7537
|
return {
|
|
7701
|
-
accountSettings: output.accountSettings
|
|
7538
|
+
accountSettings: output.accountSettings != null
|
|
7702
7539
|
? deserializeAws_json1_0AccountSettings(output.accountSettings, context)
|
|
7703
7540
|
: undefined,
|
|
7704
7541
|
};
|
|
7705
7542
|
};
|
|
7706
7543
|
var deserializeAws_json1_0UpdateComponentOutput = function (output, context) {
|
|
7707
7544
|
return {
|
|
7708
|
-
component: output.component
|
|
7709
|
-
? deserializeAws_json1_0Component(output.component, context)
|
|
7710
|
-
: undefined,
|
|
7545
|
+
component: output.component != null ? deserializeAws_json1_0Component(output.component, context) : undefined,
|
|
7711
7546
|
};
|
|
7712
7547
|
};
|
|
7713
7548
|
var deserializeAws_json1_0UpdateEnvironmentAccountConnectionOutput = function (output, context) {
|
|
7714
7549
|
return {
|
|
7715
|
-
environmentAccountConnection: output.environmentAccountConnection
|
|
7550
|
+
environmentAccountConnection: output.environmentAccountConnection != null
|
|
7716
7551
|
? deserializeAws_json1_0EnvironmentAccountConnection(output.environmentAccountConnection, context)
|
|
7717
7552
|
: undefined,
|
|
7718
7553
|
};
|
|
7719
7554
|
};
|
|
7720
7555
|
var deserializeAws_json1_0UpdateEnvironmentOutput = function (output, context) {
|
|
7721
7556
|
return {
|
|
7722
|
-
environment: output.environment
|
|
7723
|
-
? deserializeAws_json1_0Environment(output.environment, context)
|
|
7724
|
-
: undefined,
|
|
7557
|
+
environment: output.environment != null ? deserializeAws_json1_0Environment(output.environment, context) : undefined,
|
|
7725
7558
|
};
|
|
7726
7559
|
};
|
|
7727
7560
|
var deserializeAws_json1_0UpdateEnvironmentTemplateOutput = function (output, context) {
|
|
7728
7561
|
return {
|
|
7729
|
-
environmentTemplate: output.environmentTemplate
|
|
7562
|
+
environmentTemplate: output.environmentTemplate != null
|
|
7730
7563
|
? deserializeAws_json1_0EnvironmentTemplate(output.environmentTemplate, context)
|
|
7731
7564
|
: undefined,
|
|
7732
7565
|
};
|
|
7733
7566
|
};
|
|
7734
7567
|
var deserializeAws_json1_0UpdateEnvironmentTemplateVersionOutput = function (output, context) {
|
|
7735
7568
|
return {
|
|
7736
|
-
environmentTemplateVersion: output.environmentTemplateVersion
|
|
7569
|
+
environmentTemplateVersion: output.environmentTemplateVersion != null
|
|
7737
7570
|
? deserializeAws_json1_0EnvironmentTemplateVersion(output.environmentTemplateVersion, context)
|
|
7738
7571
|
: undefined,
|
|
7739
7572
|
};
|
|
7740
7573
|
};
|
|
7741
7574
|
var deserializeAws_json1_0UpdateServiceInstanceOutput = function (output, context) {
|
|
7742
7575
|
return {
|
|
7743
|
-
serviceInstance: output.serviceInstance
|
|
7576
|
+
serviceInstance: output.serviceInstance != null
|
|
7744
7577
|
? deserializeAws_json1_0ServiceInstance(output.serviceInstance, context)
|
|
7745
7578
|
: undefined,
|
|
7746
7579
|
};
|
|
7747
7580
|
};
|
|
7748
7581
|
var deserializeAws_json1_0UpdateServiceOutput = function (output, context) {
|
|
7749
7582
|
return {
|
|
7750
|
-
service: output.service
|
|
7751
|
-
? deserializeAws_json1_0Service(output.service, context)
|
|
7752
|
-
: undefined,
|
|
7583
|
+
service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
|
|
7753
7584
|
};
|
|
7754
7585
|
};
|
|
7755
7586
|
var deserializeAws_json1_0UpdateServicePipelineOutput = function (output, context) {
|
|
7756
7587
|
return {
|
|
7757
|
-
pipeline: output.pipeline
|
|
7758
|
-
? deserializeAws_json1_0ServicePipeline(output.pipeline, context)
|
|
7759
|
-
: undefined,
|
|
7588
|
+
pipeline: output.pipeline != null ? deserializeAws_json1_0ServicePipeline(output.pipeline, context) : undefined,
|
|
7760
7589
|
};
|
|
7761
7590
|
};
|
|
7762
7591
|
var deserializeAws_json1_0UpdateServiceTemplateOutput = function (output, context) {
|
|
7763
7592
|
return {
|
|
7764
|
-
serviceTemplate: output.serviceTemplate
|
|
7593
|
+
serviceTemplate: output.serviceTemplate != null
|
|
7765
7594
|
? deserializeAws_json1_0ServiceTemplate(output.serviceTemplate, context)
|
|
7766
7595
|
: undefined,
|
|
7767
7596
|
};
|
|
7768
7597
|
};
|
|
7769
7598
|
var deserializeAws_json1_0UpdateServiceTemplateVersionOutput = function (output, context) {
|
|
7770
7599
|
return {
|
|
7771
|
-
serviceTemplateVersion: output.serviceTemplateVersion
|
|
7600
|
+
serviceTemplateVersion: output.serviceTemplateVersion != null
|
|
7772
7601
|
? deserializeAws_json1_0ServiceTemplateVersion(output.serviceTemplateVersion, context)
|
|
7773
7602
|
: undefined,
|
|
7774
7603
|
};
|
|
7775
7604
|
};
|
|
7776
7605
|
var deserializeAws_json1_0UpdateTemplateSyncConfigOutput = function (output, context) {
|
|
7777
7606
|
return {
|
|
7778
|
-
templateSyncConfig: output.templateSyncConfig
|
|
7607
|
+
templateSyncConfig: output.templateSyncConfig != null
|
|
7779
7608
|
? deserializeAws_json1_0TemplateSyncConfig(output.templateSyncConfig, context)
|
|
7780
7609
|
: undefined,
|
|
7781
7610
|
};
|