cdk-docker-image-deployment 0.0.45 → 0.0.46
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/.jsii +4 -4
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/package.json +2 -2
- package/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +2 -0
- package/node_modules/aws-sdk/CHANGELOG.md +6 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +722 -652
- package/node_modules/aws-sdk/apis/servicediscovery-2017-03-14.examples.json +2 -2
- package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +123 -80
- package/node_modules/aws-sdk/clients/frauddetector.d.ts +4 -4
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +121 -5
- package/node_modules/aws-sdk/clients/servicediscovery.d.ts +45 -45
- package/node_modules/aws-sdk/clients/sesv2.d.ts +79 -27
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -5
|
@@ -2986,6 +2986,20 @@ declare namespace SageMaker {
|
|
|
2986
2986
|
Alarms?: AlarmList;
|
|
2987
2987
|
}
|
|
2988
2988
|
export type AwsManagedHumanLoopRequestSource = "AWS/Rekognition/DetectModerationLabels/Image/V3"|"AWS/Textract/AnalyzeDocument/Forms/V1"|string;
|
|
2989
|
+
export interface BatchDataCaptureConfig {
|
|
2990
|
+
/**
|
|
2991
|
+
* The Amazon S3 location being used to capture the data.
|
|
2992
|
+
*/
|
|
2993
|
+
DestinationS3Uri: S3Uri;
|
|
2994
|
+
/**
|
|
2995
|
+
* The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the batch transform job. The KmsKeyId can be any of the following formats: Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab Alias name: alias/ExampleAlias Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
|
|
2996
|
+
*/
|
|
2997
|
+
KmsKeyId?: KmsKeyId;
|
|
2998
|
+
/**
|
|
2999
|
+
* Flag that indicates whether to append inference id to the output.
|
|
3000
|
+
*/
|
|
3001
|
+
GenerateInferenceId?: Boolean;
|
|
3002
|
+
}
|
|
2989
3003
|
export interface BatchDescribeModelPackageError {
|
|
2990
3004
|
/**
|
|
2991
3005
|
*
|
|
@@ -3045,6 +3059,52 @@ declare namespace SageMaker {
|
|
|
3045
3059
|
ModelApprovalStatus?: ModelApprovalStatus;
|
|
3046
3060
|
}
|
|
3047
3061
|
export type BatchStrategy = "MultiRecord"|"SingleRecord"|string;
|
|
3062
|
+
export interface BatchTransformInput {
|
|
3063
|
+
/**
|
|
3064
|
+
* The Amazon S3 location being used to capture the data.
|
|
3065
|
+
*/
|
|
3066
|
+
DataCapturedDestinationS3Uri: DestinationS3Uri;
|
|
3067
|
+
/**
|
|
3068
|
+
* The dataset format for your batch transform job.
|
|
3069
|
+
*/
|
|
3070
|
+
DatasetFormat: MonitoringDatasetFormat;
|
|
3071
|
+
/**
|
|
3072
|
+
* Path to the filesystem where the batch transform data is available to the container.
|
|
3073
|
+
*/
|
|
3074
|
+
LocalPath: ProcessingLocalPath;
|
|
3075
|
+
/**
|
|
3076
|
+
* Whether the Pipe or File is used as the input mode for transferring data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
|
|
3077
|
+
*/
|
|
3078
|
+
S3InputMode?: ProcessingS3InputMode;
|
|
3079
|
+
/**
|
|
3080
|
+
* Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to FullyReplicated
|
|
3081
|
+
*/
|
|
3082
|
+
S3DataDistributionType?: ProcessingS3DataDistributionType;
|
|
3083
|
+
/**
|
|
3084
|
+
* The attributes of the input data that are the input features.
|
|
3085
|
+
*/
|
|
3086
|
+
FeaturesAttribute?: String;
|
|
3087
|
+
/**
|
|
3088
|
+
* The attribute of the input data that represents the ground truth label.
|
|
3089
|
+
*/
|
|
3090
|
+
InferenceAttribute?: String;
|
|
3091
|
+
/**
|
|
3092
|
+
* In a classification problem, the attribute that represents the class probability.
|
|
3093
|
+
*/
|
|
3094
|
+
ProbabilityAttribute?: String;
|
|
3095
|
+
/**
|
|
3096
|
+
* The threshold for the class probability to be evaluated as a positive result.
|
|
3097
|
+
*/
|
|
3098
|
+
ProbabilityThresholdAttribute?: ProbabilityThresholdAttribute;
|
|
3099
|
+
/**
|
|
3100
|
+
* If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.
|
|
3101
|
+
*/
|
|
3102
|
+
StartTimeOffset?: MonitoringTimeOffsetString;
|
|
3103
|
+
/**
|
|
3104
|
+
* If specified, monitoring jobs substract this time from the end time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.
|
|
3105
|
+
*/
|
|
3106
|
+
EndTimeOffset?: MonitoringTimeOffsetString;
|
|
3107
|
+
}
|
|
3048
3108
|
export interface Bias {
|
|
3049
3109
|
/**
|
|
3050
3110
|
* The bias report for a model
|
|
@@ -5184,6 +5244,10 @@ declare namespace SageMaker {
|
|
|
5184
5244
|
* Describes the results of the transform job.
|
|
5185
5245
|
*/
|
|
5186
5246
|
TransformOutput: TransformOutput;
|
|
5247
|
+
/**
|
|
5248
|
+
* Configuration to control how SageMaker captures inference data.
|
|
5249
|
+
*/
|
|
5250
|
+
DataCaptureConfig?: BatchDataCaptureConfig;
|
|
5187
5251
|
/**
|
|
5188
5252
|
* Describes the resources, including ML instance types and ML instance count, to use for the transform job.
|
|
5189
5253
|
*/
|
|
@@ -5503,7 +5567,11 @@ declare namespace SageMaker {
|
|
|
5503
5567
|
StatisticsResource?: MonitoringStatisticsResource;
|
|
5504
5568
|
}
|
|
5505
5569
|
export interface DataQualityJobInput {
|
|
5506
|
-
EndpointInput
|
|
5570
|
+
EndpointInput?: EndpointInput;
|
|
5571
|
+
/**
|
|
5572
|
+
* Input object for the batch transform job.
|
|
5573
|
+
*/
|
|
5574
|
+
BatchTransformInput?: BatchTransformInput;
|
|
5507
5575
|
}
|
|
5508
5576
|
export interface DataSource {
|
|
5509
5577
|
/**
|
|
@@ -8526,6 +8594,10 @@ declare namespace SageMaker {
|
|
|
8526
8594
|
* Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
|
|
8527
8595
|
*/
|
|
8528
8596
|
TransformOutput?: TransformOutput;
|
|
8597
|
+
/**
|
|
8598
|
+
* Configuration to control how SageMaker captures inference data.
|
|
8599
|
+
*/
|
|
8600
|
+
DataCaptureConfig?: BatchDataCaptureConfig;
|
|
8529
8601
|
/**
|
|
8530
8602
|
* Describes the resources, including ML instance types and ML instance count, to use for the transform job.
|
|
8531
8603
|
*/
|
|
@@ -13840,7 +13912,11 @@ declare namespace SageMaker {
|
|
|
13840
13912
|
ConstraintsResource?: MonitoringConstraintsResource;
|
|
13841
13913
|
}
|
|
13842
13914
|
export interface ModelBiasJobInput {
|
|
13843
|
-
EndpointInput
|
|
13915
|
+
EndpointInput?: EndpointInput;
|
|
13916
|
+
/**
|
|
13917
|
+
* Input object for the batch transform job.
|
|
13918
|
+
*/
|
|
13919
|
+
BatchTransformInput?: BatchTransformInput;
|
|
13844
13920
|
/**
|
|
13845
13921
|
* Location of ground truth labels to use in model bias job.
|
|
13846
13922
|
*/
|
|
@@ -13921,7 +13997,11 @@ declare namespace SageMaker {
|
|
|
13921
13997
|
ConstraintsResource?: MonitoringConstraintsResource;
|
|
13922
13998
|
}
|
|
13923
13999
|
export interface ModelExplainabilityJobInput {
|
|
13924
|
-
EndpointInput
|
|
14000
|
+
EndpointInput?: EndpointInput;
|
|
14001
|
+
/**
|
|
14002
|
+
* Input object for the batch transform job.
|
|
14003
|
+
*/
|
|
14004
|
+
BatchTransformInput?: BatchTransformInput;
|
|
13925
14005
|
}
|
|
13926
14006
|
export interface ModelInput {
|
|
13927
14007
|
/**
|
|
@@ -14340,7 +14420,11 @@ declare namespace SageMaker {
|
|
|
14340
14420
|
ConstraintsResource?: MonitoringConstraintsResource;
|
|
14341
14421
|
}
|
|
14342
14422
|
export interface ModelQualityJobInput {
|
|
14343
|
-
EndpointInput
|
|
14423
|
+
EndpointInput?: EndpointInput;
|
|
14424
|
+
/**
|
|
14425
|
+
* Input object for the batch transform job.
|
|
14426
|
+
*/
|
|
14427
|
+
BatchTransformInput?: BatchTransformInput;
|
|
14344
14428
|
/**
|
|
14345
14429
|
* The ground truth label provided for the model.
|
|
14346
14430
|
*/
|
|
@@ -14429,6 +14513,26 @@ declare namespace SageMaker {
|
|
|
14429
14513
|
S3Uri?: S3Uri;
|
|
14430
14514
|
}
|
|
14431
14515
|
export type MonitoringContainerArguments = ContainerArgument[];
|
|
14516
|
+
export interface MonitoringCsvDatasetFormat {
|
|
14517
|
+
/**
|
|
14518
|
+
* Indicates if the CSV data has a header.
|
|
14519
|
+
*/
|
|
14520
|
+
Header?: Boolean;
|
|
14521
|
+
}
|
|
14522
|
+
export interface MonitoringDatasetFormat {
|
|
14523
|
+
/**
|
|
14524
|
+
* The CSV dataset used in the monitoring job.
|
|
14525
|
+
*/
|
|
14526
|
+
Csv?: MonitoringCsvDatasetFormat;
|
|
14527
|
+
/**
|
|
14528
|
+
* The JSON dataset used in the monitoring job
|
|
14529
|
+
*/
|
|
14530
|
+
Json?: MonitoringJsonDatasetFormat;
|
|
14531
|
+
/**
|
|
14532
|
+
* The Parquet dataset used in the monitoring job
|
|
14533
|
+
*/
|
|
14534
|
+
Parquet?: MonitoringParquetDatasetFormat;
|
|
14535
|
+
}
|
|
14432
14536
|
export type MonitoringEnvironmentMap = {[key: string]: ProcessingEnvironmentValue};
|
|
14433
14537
|
export type MonitoringExecutionSortKey = "CreationTime"|"ScheduledTime"|"Status"|string;
|
|
14434
14538
|
export interface MonitoringExecutionSummary {
|
|
@@ -14484,7 +14588,11 @@ declare namespace SageMaker {
|
|
|
14484
14588
|
/**
|
|
14485
14589
|
* The endpoint for a monitoring job.
|
|
14486
14590
|
*/
|
|
14487
|
-
EndpointInput
|
|
14591
|
+
EndpointInput?: EndpointInput;
|
|
14592
|
+
/**
|
|
14593
|
+
* Input object for the batch transform job.
|
|
14594
|
+
*/
|
|
14595
|
+
BatchTransformInput?: BatchTransformInput;
|
|
14488
14596
|
}
|
|
14489
14597
|
export type MonitoringInputs = MonitoringInput[];
|
|
14490
14598
|
export interface MonitoringJobDefinition {
|
|
@@ -14547,6 +14655,12 @@ declare namespace SageMaker {
|
|
|
14547
14655
|
EndpointName: EndpointName;
|
|
14548
14656
|
}
|
|
14549
14657
|
export type MonitoringJobDefinitionSummaryList = MonitoringJobDefinitionSummary[];
|
|
14658
|
+
export interface MonitoringJsonDatasetFormat {
|
|
14659
|
+
/**
|
|
14660
|
+
* Indicates if the file should be read as a json object per line.
|
|
14661
|
+
*/
|
|
14662
|
+
Line?: Boolean;
|
|
14663
|
+
}
|
|
14550
14664
|
export type MonitoringMaxRuntimeInSeconds = number;
|
|
14551
14665
|
export interface MonitoringNetworkConfig {
|
|
14552
14666
|
/**
|
|
@@ -14576,6 +14690,8 @@ declare namespace SageMaker {
|
|
|
14576
14690
|
KmsKeyId?: KmsKeyId;
|
|
14577
14691
|
}
|
|
14578
14692
|
export type MonitoringOutputs = MonitoringOutput[];
|
|
14693
|
+
export interface MonitoringParquetDatasetFormat {
|
|
14694
|
+
}
|
|
14579
14695
|
export type MonitoringProblemType = "BinaryClassification"|"MulticlassClassification"|"Regression"|string;
|
|
14580
14696
|
export interface MonitoringResources {
|
|
14581
14697
|
/**
|
|
@@ -12,35 +12,35 @@ declare class ServiceDiscovery extends Service {
|
|
|
12
12
|
constructor(options?: ServiceDiscovery.Types.ClientConfiguration)
|
|
13
13
|
config: Config & ServiceDiscovery.Types.ClientConfiguration;
|
|
14
14
|
/**
|
|
15
|
-
* Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances request but can't be discovered using DNS. For the current quota on the number of namespaces that you can create using the same account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
15
|
+
* Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances request but can't be discovered using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
16
16
|
*/
|
|
17
17
|
createHttpNamespace(params: ServiceDiscovery.Types.CreateHttpNamespaceRequest, callback?: (err: AWSError, data: ServiceDiscovery.Types.CreateHttpNamespaceResponse) => void): Request<ServiceDiscovery.Types.CreateHttpNamespaceResponse, AWSError>;
|
|
18
18
|
/**
|
|
19
|
-
* Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances request but can't be discovered using DNS. For the current quota on the number of namespaces that you can create using the same account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
19
|
+
* Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances request but can't be discovered using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
20
20
|
*/
|
|
21
21
|
createHttpNamespace(callback?: (err: AWSError, data: ServiceDiscovery.Types.CreateHttpNamespaceResponse) => void): Request<ServiceDiscovery.Types.CreateHttpNamespaceResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. Service instances that are registered using a private DNS namespace can be discovered using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
23
|
+
* Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. Service instances that are registered using a private DNS namespace can be discovered using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
24
24
|
*/
|
|
25
25
|
createPrivateDnsNamespace(params: ServiceDiscovery.Types.CreatePrivateDnsNamespaceRequest, callback?: (err: AWSError, data: ServiceDiscovery.Types.CreatePrivateDnsNamespaceResponse) => void): Request<ServiceDiscovery.Types.CreatePrivateDnsNamespaceResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. Service instances that are registered using a private DNS namespace can be discovered using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
27
|
+
* Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. Service instances that are registered using a private DNS namespace can be discovered using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
28
28
|
*/
|
|
29
29
|
createPrivateDnsNamespace(callback?: (err: AWSError, data: ServiceDiscovery.Types.CreatePrivateDnsNamespaceResponse) => void): Request<ServiceDiscovery.Types.CreatePrivateDnsNamespaceResponse, AWSError>;
|
|
30
30
|
/**
|
|
31
|
-
* Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
31
|
+
* Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide. The CreatePublicDnsNamespace API operation is not supported in the Amazon Web Services GovCloud (US) Regions.
|
|
32
32
|
*/
|
|
33
33
|
createPublicDnsNamespace(params: ServiceDiscovery.Types.CreatePublicDnsNamespaceRequest, callback?: (err: AWSError, data: ServiceDiscovery.Types.CreatePublicDnsNamespaceResponse) => void): Request<ServiceDiscovery.Types.CreatePublicDnsNamespaceResponse, AWSError>;
|
|
34
34
|
/**
|
|
35
|
-
* Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same account, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
35
|
+
* Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide. The CreatePublicDnsNamespace API operation is not supported in the Amazon Web Services GovCloud (US) Regions.
|
|
36
36
|
*/
|
|
37
37
|
createPublicDnsNamespace(callback?: (err: AWSError, data: ServiceDiscovery.Types.CreatePublicDnsNamespaceResponse) => void): Request<ServiceDiscovery.Types.CreatePublicDnsNamespaceResponse, AWSError>;
|
|
38
38
|
/**
|
|
39
|
-
* Creates a service. This action defines the configuration for the following entities: For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route
|
|
39
|
+
* Creates a service. This action defines the configuration for the following entities: For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route 53: A AAAA A and AAAA SRV CNAME Optionally, a health check After you create the service, you can submit a RegisterInstance request, and Cloud Map uses the values in the configuration to create the specified entities. For the current quota on the number of instances that you can register using the same namespace and using the same service, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
40
40
|
*/
|
|
41
41
|
createService(params: ServiceDiscovery.Types.CreateServiceRequest, callback?: (err: AWSError, data: ServiceDiscovery.Types.CreateServiceResponse) => void): Request<ServiceDiscovery.Types.CreateServiceResponse, AWSError>;
|
|
42
42
|
/**
|
|
43
|
-
* Creates a service. This action defines the configuration for the following entities: For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route
|
|
43
|
+
* Creates a service. This action defines the configuration for the following entities: For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route 53: A AAAA A and AAAA SRV CNAME Optionally, a health check After you create the service, you can submit a RegisterInstance request, and Cloud Map uses the values in the configuration to create the specified entities. For the current quota on the number of instances that you can register using the same namespace and using the same service, see Cloud Map quotas in the Cloud Map Developer Guide.
|
|
44
44
|
*/
|
|
45
45
|
createService(callback?: (err: AWSError, data: ServiceDiscovery.Types.CreateServiceResponse) => void): Request<ServiceDiscovery.Types.CreateServiceResponse, AWSError>;
|
|
46
46
|
/**
|
|
@@ -60,11 +60,11 @@ declare class ServiceDiscovery extends Service {
|
|
|
60
60
|
*/
|
|
61
61
|
deleteService(callback?: (err: AWSError, data: ServiceDiscovery.Types.DeleteServiceResponse) => void): Request<ServiceDiscovery.Types.DeleteServiceResponse, AWSError>;
|
|
62
62
|
/**
|
|
63
|
-
* Deletes the Amazon Route
|
|
63
|
+
* Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the specified instance.
|
|
64
64
|
*/
|
|
65
65
|
deregisterInstance(params: ServiceDiscovery.Types.DeregisterInstanceRequest, callback?: (err: AWSError, data: ServiceDiscovery.Types.DeregisterInstanceResponse) => void): Request<ServiceDiscovery.Types.DeregisterInstanceResponse, AWSError>;
|
|
66
66
|
/**
|
|
67
|
-
* Deletes the Amazon Route
|
|
67
|
+
* Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the specified instance.
|
|
68
68
|
*/
|
|
69
69
|
deregisterInstance(callback?: (err: AWSError, data: ServiceDiscovery.Types.DeregisterInstanceResponse) => void): Request<ServiceDiscovery.Types.DeregisterInstanceResponse, AWSError>;
|
|
70
70
|
/**
|
|
@@ -124,11 +124,11 @@ declare class ServiceDiscovery extends Service {
|
|
|
124
124
|
*/
|
|
125
125
|
listInstances(callback?: (err: AWSError, data: ServiceDiscovery.Types.ListInstancesResponse) => void): Request<ServiceDiscovery.Types.ListInstancesResponse, AWSError>;
|
|
126
126
|
/**
|
|
127
|
-
* Lists summary information about the namespaces that were created by the current account.
|
|
127
|
+
* Lists summary information about the namespaces that were created by the current Amazon Web Services account.
|
|
128
128
|
*/
|
|
129
129
|
listNamespaces(params: ServiceDiscovery.Types.ListNamespacesRequest, callback?: (err: AWSError, data: ServiceDiscovery.Types.ListNamespacesResponse) => void): Request<ServiceDiscovery.Types.ListNamespacesResponse, AWSError>;
|
|
130
130
|
/**
|
|
131
|
-
* Lists summary information about the namespaces that were created by the current account.
|
|
131
|
+
* Lists summary information about the namespaces that were created by the current Amazon Web Services account.
|
|
132
132
|
*/
|
|
133
133
|
listNamespaces(callback?: (err: AWSError, data: ServiceDiscovery.Types.ListNamespacesResponse) => void): Request<ServiceDiscovery.Types.ListNamespacesResponse, AWSError>;
|
|
134
134
|
/**
|
|
@@ -188,11 +188,11 @@ declare class ServiceDiscovery extends Service {
|
|
|
188
188
|
*/
|
|
189
189
|
updateHttpNamespace(callback?: (err: AWSError, data: ServiceDiscovery.Types.UpdateHttpNamespaceResponse) => void): Request<ServiceDiscovery.Types.UpdateHttpNamespaceResponse, AWSError>;
|
|
190
190
|
/**
|
|
191
|
-
* Submits a request to change the health status of a custom health check to healthy or unhealthy. You can use UpdateInstanceCustomHealthStatus to change the status only for custom health checks, which you define using HealthCheckCustomConfig when you create a service. You can't use it to change the status for Route
|
|
191
|
+
* Submits a request to change the health status of a custom health check to healthy or unhealthy. You can use UpdateInstanceCustomHealthStatus to change the status only for custom health checks, which you define using HealthCheckCustomConfig when you create a service. You can't use it to change the status for Route 53 health checks, which you define using HealthCheckConfig. For more information, see HealthCheckCustomConfig.
|
|
192
192
|
*/
|
|
193
193
|
updateInstanceCustomHealthStatus(params: ServiceDiscovery.Types.UpdateInstanceCustomHealthStatusRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
194
194
|
/**
|
|
195
|
-
* Submits a request to change the health status of a custom health check to healthy or unhealthy. You can use UpdateInstanceCustomHealthStatus to change the status only for custom health checks, which you define using HealthCheckCustomConfig when you create a service. You can't use it to change the status for Route
|
|
195
|
+
* Submits a request to change the health status of a custom health check to healthy or unhealthy. You can use UpdateInstanceCustomHealthStatus to change the status only for custom health checks, which you define using HealthCheckCustomConfig when you create a service. You can't use it to change the status for Route 53 health checks, which you define using HealthCheckConfig. For more information, see HealthCheckCustomConfig.
|
|
196
196
|
*/
|
|
197
197
|
updateInstanceCustomHealthStatus(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
198
198
|
/**
|
|
@@ -253,7 +253,7 @@ declare namespace ServiceDiscovery {
|
|
|
253
253
|
}
|
|
254
254
|
export interface CreatePrivateDnsNamespaceRequest {
|
|
255
255
|
/**
|
|
256
|
-
* The name that you want to assign to this namespace. When you create a private DNS namespace, Cloud Map automatically creates an Amazon Route
|
|
256
|
+
* The name that you want to assign to this namespace. When you create a private DNS namespace, Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
|
|
257
257
|
*/
|
|
258
258
|
Name: NamespaceNamePrivate;
|
|
259
259
|
/**
|
|
@@ -285,7 +285,7 @@ declare namespace ServiceDiscovery {
|
|
|
285
285
|
}
|
|
286
286
|
export interface CreatePublicDnsNamespaceRequest {
|
|
287
287
|
/**
|
|
288
|
-
* The name that you want to assign to this namespace.
|
|
288
|
+
* The name that you want to assign to this namespace. Do not include sensitive information in the name. The name is publicly available using DNS queries.
|
|
289
289
|
*/
|
|
290
290
|
Name: NamespaceNamePublic;
|
|
291
291
|
/**
|
|
@@ -313,7 +313,7 @@ declare namespace ServiceDiscovery {
|
|
|
313
313
|
}
|
|
314
314
|
export interface CreateServiceRequest {
|
|
315
315
|
/**
|
|
316
|
-
* The name that you want to assign to the service. If you want Cloud Map to create an SRV record when you register an instance and you're using a system that requires a specific SRV format, such as HAProxy, specify the following for Name: Start the name with an underscore (_), such as _exampleservice. End the name with ._protocol, such as ._tcp. When you register an instance, Cloud Map creates an SRV record and assigns a name to the record by concatenating the service name and the namespace name (for example, _exampleservice._tcp.example.com). For services that are accessible by DNS queries, you can't create multiple services with names that differ only by case (such as EXAMPLE and example). Otherwise, these services have the same DNS name and can't be distinguished. However, if you use a namespace that's only accessible by API calls, then you can create services that with names that differ only by case.
|
|
316
|
+
* The name that you want to assign to the service. Do not include sensitive information in the name if the namespace is discoverable by public DNS queries. If you want Cloud Map to create an SRV record when you register an instance and you're using a system that requires a specific SRV format, such as HAProxy, specify the following for Name: Start the name with an underscore (_), such as _exampleservice. End the name with ._protocol, such as ._tcp. When you register an instance, Cloud Map creates an SRV record and assigns a name to the record by concatenating the service name and the namespace name (for example, _exampleservice._tcp.example.com). For services that are accessible by DNS queries, you can't create multiple services with names that differ only by case (such as EXAMPLE and example). Otherwise, these services have the same DNS name and can't be distinguished. However, if you use a namespace that's only accessible by API calls, then you can create services that with names that differ only by case.
|
|
317
317
|
*/
|
|
318
318
|
Name: ServiceName;
|
|
319
319
|
/**
|
|
@@ -329,11 +329,11 @@ declare namespace ServiceDiscovery {
|
|
|
329
329
|
*/
|
|
330
330
|
Description?: ResourceDescription;
|
|
331
331
|
/**
|
|
332
|
-
* A complex type that contains information about the Amazon Route
|
|
332
|
+
* A complex type that contains information about the Amazon Route 53 records that you want Cloud Map to create when you register an instance.
|
|
333
333
|
*/
|
|
334
334
|
DnsConfig?: DnsConfig;
|
|
335
335
|
/**
|
|
336
|
-
* Public DNS and HTTP namespaces only. A complex type that contains settings for an optional Route
|
|
336
|
+
* Public DNS and HTTP namespaces only. A complex type that contains settings for an optional Route 53 health check. If you specify settings for a health check, Cloud Map associates the health check with all the Route 53 DNS records that you specify in DnsConfig. If you specify a health check configuration, you can specify either HealthCheckCustomConfig or HealthCheckConfig but not both. For information about the charges for health checks, see Cloud Map Pricing.
|
|
337
337
|
*/
|
|
338
338
|
HealthCheckConfig?: HealthCheckConfig;
|
|
339
339
|
/**
|
|
@@ -427,27 +427,27 @@ declare namespace ServiceDiscovery {
|
|
|
427
427
|
export type DiscoverMaxResults = number;
|
|
428
428
|
export interface DnsConfig {
|
|
429
429
|
/**
|
|
430
|
-
* The ID of the namespace to use for DNS configuration.
|
|
430
|
+
* Use NamespaceId in Service instead. The ID of the namespace to use for DNS configuration.
|
|
431
431
|
*/
|
|
432
432
|
NamespaceId?: ResourceId;
|
|
433
433
|
/**
|
|
434
|
-
* The routing policy that you want to apply to all Route
|
|
434
|
+
* The routing policy that you want to apply to all Route 53 DNS records that Cloud Map creates when you register an instance and specify this service. If you want to use this service to register instances that create alias records, specify WEIGHTED for the routing policy. You can specify the following values: MULTIVALUE If you define a health check for the service and the health check is healthy, Route 53 returns the applicable value for up to eight instances. For example, suppose that the service includes configurations for one A record and a health check. You use the service to register 10 instances. Route 53 responds to DNS queries with IP addresses for up to eight healthy instances. If fewer than eight instances are healthy, Route 53 responds to every DNS query with the IP addresses for all of the healthy instances. If you don't define a health check for the service, Route 53 assumes that all instances are healthy and returns the values for up to eight instances. For more information about the multivalue routing policy, see Multivalue Answer Routing in the Route 53 Developer Guide. WEIGHTED Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service. Currently, all records have the same weight, so you can't route more or less traffic to any instances. For example, suppose that the service includes configurations for one A record and a health check. You use the service to register 10 instances. Route 53 responds to DNS queries with the IP address for one randomly selected instance from among the healthy instances. If no instances are healthy, Route 53 responds to DNS queries as if all of the instances were healthy. If you don't define a health check for the service, Route 53 assumes that all instances are healthy and returns the applicable value for one randomly selected instance. For more information about the weighted routing policy, see Weighted Routing in the Route 53 Developer Guide.
|
|
435
435
|
*/
|
|
436
436
|
RoutingPolicy?: RoutingPolicy;
|
|
437
437
|
/**
|
|
438
|
-
* An array that contains one DnsRecord object for each Route
|
|
438
|
+
* An array that contains one DnsRecord object for each Route 53 DNS record that you want Cloud Map to create when you register an instance.
|
|
439
439
|
*/
|
|
440
440
|
DnsRecords: DnsRecordList;
|
|
441
441
|
}
|
|
442
442
|
export interface DnsConfigChange {
|
|
443
443
|
/**
|
|
444
|
-
* An array that contains one DnsRecord object for each Route
|
|
444
|
+
* An array that contains one DnsRecord object for each Route 53 record that you want Cloud Map to create when you register an instance.
|
|
445
445
|
*/
|
|
446
446
|
DnsRecords: DnsRecordList;
|
|
447
447
|
}
|
|
448
448
|
export interface DnsProperties {
|
|
449
449
|
/**
|
|
450
|
-
* The ID for the Route
|
|
450
|
+
* The ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
|
|
451
451
|
*/
|
|
452
452
|
HostedZoneId?: ResourceId;
|
|
453
453
|
/**
|
|
@@ -457,17 +457,17 @@ declare namespace ServiceDiscovery {
|
|
|
457
457
|
}
|
|
458
458
|
export interface DnsRecord {
|
|
459
459
|
/**
|
|
460
|
-
* The type of the resource, which indicates the type of value that Route
|
|
460
|
+
* The type of the resource, which indicates the type of value that Route 53 returns in response to DNS queries. You can specify values for Type in the following combinations: A AAAA A and AAAA SRV CNAME If you want Cloud Map to create a Route 53 alias record when you register an instance, specify A or AAAA for Type. You specify other settings, such as the IP address for A and AAAA records, when you register an instance. For more information, see RegisterInstance. The following values are supported: A Route 53 returns the IP address of the resource in IPv4 format, such as 192.0.2.44. AAAA Route 53 returns the IP address of the resource in IPv6 format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345. CNAME Route 53 returns the domain name of the resource, such as www.example.com. Note the following: You specify the domain name that you want to route traffic to when you register an instance. For more information, see Attributes in the topic RegisterInstance. You must specify WEIGHTED for the value of RoutingPolicy. You can't specify both CNAME for Type and settings for HealthCheckConfig. If you do, the request will fail with an InvalidInput error. SRV Route 53 returns the value for an SRV record. The value for an SRV record uses the following values: priority weight port service-hostname Note the following about the values: The values of priority and weight are both set to 1 and can't be changed. The value of port comes from the value that you specify for the AWS_INSTANCE_PORT attribute when you submit a RegisterInstance request. The value of service-hostname is a concatenation of the following values: The value that you specify for InstanceId when you register an instance. The name of the service. The name of the namespace. For example, if the value of InstanceId is test, the name of the service is backend, and the name of the namespace is example.com, the value of service-hostname is the following: test.backend.example.com If you specify settings for an SRV record, note the following: If you specify values for AWS_INSTANCE_IPV4, AWS_INSTANCE_IPV6, or both in the RegisterInstance request, Cloud Map automatically creates A and/or AAAA records that have the same name as the value of service-hostname in the SRV record. You can ignore these records. If you're using a system that requires a specific SRV format, such as HAProxy, see the Name element in the documentation about CreateService for information about how to specify the correct name format.
|
|
461
461
|
*/
|
|
462
462
|
Type: RecordType;
|
|
463
463
|
/**
|
|
464
|
-
* The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record. Alias records don't include a TTL because Route
|
|
464
|
+
* The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record. Alias records don't include a TTL because Route 53 uses the TTL for the Amazon Web Services resource that an alias record routes traffic to. If you include the AWS_ALIAS_DNS_NAME attribute when you submit a RegisterInstance request, the TTL value is ignored. Always specify a TTL for the service; you can use a service to register instances that create either alias or non-alias records.
|
|
465
465
|
*/
|
|
466
466
|
TTL: RecordTTL;
|
|
467
467
|
}
|
|
468
468
|
export type DnsRecordList = DnsRecord[];
|
|
469
469
|
export type FailureThreshold = number;
|
|
470
|
-
export type FilterCondition = "EQ"|"IN"|"BETWEEN"|string;
|
|
470
|
+
export type FilterCondition = "EQ"|"IN"|"BETWEEN"|"BEGINS_WITH"|string;
|
|
471
471
|
export type FilterValue = string;
|
|
472
472
|
export type FilterValues = FilterValue[];
|
|
473
473
|
export interface GetInstanceRequest {
|
|
@@ -552,15 +552,15 @@ declare namespace ServiceDiscovery {
|
|
|
552
552
|
}
|
|
553
553
|
export interface HealthCheckConfig {
|
|
554
554
|
/**
|
|
555
|
-
* The type of health check that you want to create, which indicates how Route
|
|
555
|
+
* The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. You can't change the value of Type after you create a health check. You can create the following types of health checks: HTTP: Route 53 tries to establish a TCP connection. If successful, Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400. HTTPS: Route 53 tries to establish a TCP connection. If successful, Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400. If you specify HTTPS for the value of Type, the endpoint must support TLS v1.0 or later. TCP: Route 53 tries to establish a TCP connection. If you specify TCP for Type, don't specify a value for ResourcePath. For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the Route 53 Developer Guide.
|
|
556
556
|
*/
|
|
557
557
|
Type: HealthCheckType;
|
|
558
558
|
/**
|
|
559
|
-
* The path that you want Route
|
|
559
|
+
* The path that you want Route 53 to request when performing health checks. The path can be any value that your endpoint returns an HTTP status code of a 2xx or 3xx format for when the endpoint is healthy. An example file is /docs/route53-health-check.html. Route 53 automatically adds the DNS name for the service. If you don't specify a value for ResourcePath, the default value is /. If you specify TCP for Type, you must not specify a value for ResourcePath.
|
|
560
560
|
*/
|
|
561
561
|
ResourcePath?: ResourcePath;
|
|
562
562
|
/**
|
|
563
|
-
* The number of consecutive health checks that an endpoint must pass or fail for Route
|
|
563
|
+
* The number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or the other way around. For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the Route 53 Developer Guide.
|
|
564
564
|
*/
|
|
565
565
|
FailureThreshold?: FailureThreshold;
|
|
566
566
|
}
|
|
@@ -618,7 +618,7 @@ declare namespace ServiceDiscovery {
|
|
|
618
618
|
*/
|
|
619
619
|
CreatorRequestId?: ResourceId;
|
|
620
620
|
/**
|
|
621
|
-
* A string map that contains the following information for the service that you specify in ServiceId: The attributes that apply to the records that are defined in the service. For each attribute, the applicable value.
|
|
621
|
+
* A string map that contains the following information for the service that you specify in ServiceId: The attributes that apply to the records that are defined in the service. For each attribute, the applicable value. Do not include sensitive information in the attributes if the namespace is discoverable by public DNS queries. Supported attribute keys include the following: AWS_ALIAS_DNS_NAME If you want Cloud Map to create a Route 53 alias record that routes traffic to an Elastic Load Balancing load balancer, specify the DNS name that's associated with the load balancer. For information about how to get the DNS name, see AliasTarget->DNSName in the Route 53 API Reference. Note the following: The configuration for the service that's specified by ServiceId must include settings for an A record, an AAAA record, or both. In the service that's specified by ServiceId, the value of RoutingPolicy must be WEIGHTED. If the service that's specified by ServiceId includes HealthCheckConfig settings, Cloud Map creates the health check, but it won't associate the health check with the alias record. Auto naming currently doesn't support creating alias records that route traffic to Amazon Web Services resources other than ELB load balancers. If you specify a value for AWS_ALIAS_DNS_NAME, don't specify values for any of the AWS_INSTANCE attributes. AWS_EC2_INSTANCE_ID HTTP namespaces only. The Amazon EC2 instance ID for the instance. The AWS_INSTANCE_IPV4 attribute contains the primary private IPv4 address. AWS_INIT_HEALTH_STATUS If the service configuration includes HealthCheckCustomConfig, you can optionally use AWS_INIT_HEALTH_STATUS to specify the initial status of the custom health check, HEALTHY or UNHEALTHY. If you don't specify a value for AWS_INIT_HEALTH_STATUS, the initial status is HEALTHY. AWS_INSTANCE_CNAME If the service configuration includes a CNAME record, the domain name that you want Route 53 to return in response to DNS queries (for example, example.com). This value is required if the service specified by ServiceId includes settings for an CNAME record. AWS_INSTANCE_IPV4 If the service configuration includes an A record, the IPv4 address that you want Route 53 to return in response to DNS queries (for example, 192.0.2.44). This value is required if the service specified by ServiceId includes settings for an A record. If the service includes settings for an SRV record, you must specify a value for AWS_INSTANCE_IPV4, AWS_INSTANCE_IPV6, or both. AWS_INSTANCE_IPV6 If the service configuration includes an AAAA record, the IPv6 address that you want Route 53 to return in response to DNS queries (for example, 2001:0db8:85a3:0000:0000:abcd:0001:2345). This value is required if the service specified by ServiceId includes settings for an AAAA record. If the service includes settings for an SRV record, you must specify a value for AWS_INSTANCE_IPV4, AWS_INSTANCE_IPV6, or both. AWS_INSTANCE_PORT If the service includes an SRV record, the value that you want Route 53 to return for the port. If the service includes HealthCheckConfig, the port on the endpoint that you want Route 53 to send requests to. This value is required if you specified settings for an SRV record or a Route 53 health check when you created the service.
|
|
622
622
|
*/
|
|
623
623
|
Attributes?: Attributes;
|
|
624
624
|
}
|
|
@@ -631,7 +631,7 @@ declare namespace ServiceDiscovery {
|
|
|
631
631
|
*/
|
|
632
632
|
Id?: ResourceId;
|
|
633
633
|
/**
|
|
634
|
-
* A string map that contains the following information: The attributes that are associated with the instance. For each attribute, the applicable value. Supported attribute keys include the following: AWS_ALIAS_DNS_NAME For an alias record that routes traffic to an Elastic Load Balancing load balancer, the DNS name that's associated with the load balancer. AWS_EC2_INSTANCE_ID (HTTP namespaces only) The Amazon EC2 instance ID for the instance. When the AWS_EC2_INSTANCE_ID attribute is specified, then the AWS_INSTANCE_IPV4 attribute contains the primary private IPv4 address. AWS_INIT_HEALTH_STATUS If the service configuration includes HealthCheckCustomConfig, you can optionally use AWS_INIT_HEALTH_STATUS to specify the initial status of the custom health check, HEALTHY or UNHEALTHY. If you don't specify a value for AWS_INIT_HEALTH_STATUS, the initial status is HEALTHY. AWS_INSTANCE_CNAME For a CNAME record, the domain name that Route
|
|
634
|
+
* A string map that contains the following information: The attributes that are associated with the instance. For each attribute, the applicable value. Supported attribute keys include the following: AWS_ALIAS_DNS_NAME For an alias record that routes traffic to an Elastic Load Balancing load balancer, the DNS name that's associated with the load balancer. AWS_EC2_INSTANCE_ID (HTTP namespaces only) The Amazon EC2 instance ID for the instance. When the AWS_EC2_INSTANCE_ID attribute is specified, then the AWS_INSTANCE_IPV4 attribute contains the primary private IPv4 address. AWS_INIT_HEALTH_STATUS If the service configuration includes HealthCheckCustomConfig, you can optionally use AWS_INIT_HEALTH_STATUS to specify the initial status of the custom health check, HEALTHY or UNHEALTHY. If you don't specify a value for AWS_INIT_HEALTH_STATUS, the initial status is HEALTHY. AWS_INSTANCE_CNAME For a CNAME record, the domain name that Route 53 returns in response to DNS queries (for example, example.com). AWS_INSTANCE_IPV4 For an A record, the IPv4 address that Route 53 returns in response to DNS queries (for example, 192.0.2.44). AWS_INSTANCE_IPV6 For an AAAA record, the IPv6 address that Route 53 returns in response to DNS queries (for example, 2001:0db8:85a3:0000:0000:abcd:0001:2345). AWS_INSTANCE_PORT For an SRV record, the value that Route 53 returns for the port. In addition, if the service includes HealthCheckConfig, the port on the endpoint that Route 53 sends requests to.
|
|
635
635
|
*/
|
|
636
636
|
Attributes?: Attributes;
|
|
637
637
|
}
|
|
@@ -786,19 +786,19 @@ declare namespace ServiceDiscovery {
|
|
|
786
786
|
}
|
|
787
787
|
export interface NamespaceFilter {
|
|
788
788
|
/**
|
|
789
|
-
* Specify TYPE.
|
|
789
|
+
* Specify the namespaces that you want to get using one of the following. TYPE: Gets the namespaces of the specified type. NAME: Gets the namespaces with the specified name. HTTP_NAME: Gets the namespaces with the specified HTTP name.
|
|
790
790
|
*/
|
|
791
791
|
Name: NamespaceFilterName;
|
|
792
792
|
/**
|
|
793
|
-
*
|
|
793
|
+
* Specify the values that are applicable to the value that you specify for Name. TYPE: Specify HTTP, DNS_PUBLIC, or DNS_PRIVATE. NAME: Specify the name of the namespace, which is found in Namespace.Name. HTTP_NAME: Specify the HTTP name of the namespace, which is found in Namespace.Properties.HttpProperties.HttpName.
|
|
794
794
|
*/
|
|
795
795
|
Values: FilterValues;
|
|
796
796
|
/**
|
|
797
|
-
*
|
|
797
|
+
* Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid values for Condition are one of the following. EQ: When you specify EQ for Condition, you can specify only one value. EQ is supported for TYPE, NAME, and HTTP_NAME. EQ is the default condition and can be omitted. BEGINS_WITH: When you specify BEGINS_WITH for Condition, you can specify only one value. BEGINS_WITH is supported for TYPE, NAME, and HTTP_NAME.
|
|
798
798
|
*/
|
|
799
799
|
Condition?: FilterCondition;
|
|
800
800
|
}
|
|
801
|
-
export type NamespaceFilterName = "TYPE"|string;
|
|
801
|
+
export type NamespaceFilterName = "TYPE"|"NAME"|"HTTP_NAME"|string;
|
|
802
802
|
export type NamespaceFilters = NamespaceFilter[];
|
|
803
803
|
export type NamespaceName = string;
|
|
804
804
|
export type NamespaceNameHttp = string;
|
|
@@ -806,7 +806,7 @@ declare namespace ServiceDiscovery {
|
|
|
806
806
|
export type NamespaceNamePublic = string;
|
|
807
807
|
export interface NamespaceProperties {
|
|
808
808
|
/**
|
|
809
|
-
* A complex type that contains the ID for the Route
|
|
809
|
+
* A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
|
|
810
810
|
*/
|
|
811
811
|
DnsProperties?: DnsProperties;
|
|
812
812
|
/**
|
|
@@ -825,7 +825,7 @@ declare namespace ServiceDiscovery {
|
|
|
825
825
|
*/
|
|
826
826
|
Arn?: Arn;
|
|
827
827
|
/**
|
|
828
|
-
* The name of the namespace. When you create a namespace, Cloud Map automatically creates a Route
|
|
828
|
+
* The name of the namespace. When you create a namespace, Cloud Map automatically creates a Route 53 hosted zone that has the same name as the namespace.
|
|
829
829
|
*/
|
|
830
830
|
Name?: NamespaceName;
|
|
831
831
|
/**
|
|
@@ -993,7 +993,7 @@ declare namespace ServiceDiscovery {
|
|
|
993
993
|
*/
|
|
994
994
|
ServiceId: ResourceId;
|
|
995
995
|
/**
|
|
996
|
-
* An identifier that you want to associate with the instance. Note the following: If the service that's specified by ServiceId includes settings for an SRV record, the value of InstanceId is automatically included as part of the value for the SRV record. For more information, see DnsRecord > Type. You can use this value to update an existing instance. To register a new instance, you must specify a value that's unique among instances that you register by using the same service. If you specify an existing InstanceId and ServiceId, Cloud Map updates the existing DNS records, if any. If there's also an existing health check, Cloud Map deletes the old health check and creates a new one. The health check isn't deleted immediately, so it will still appear for a while if you submit a ListHealthChecks request, for example.
|
|
996
|
+
* An identifier that you want to associate with the instance. Note the following: If the service that's specified by ServiceId includes settings for an SRV record, the value of InstanceId is automatically included as part of the value for the SRV record. For more information, see DnsRecord > Type. You can use this value to update an existing instance. To register a new instance, you must specify a value that's unique among instances that you register by using the same service. If you specify an existing InstanceId and ServiceId, Cloud Map updates the existing DNS records, if any. If there's also an existing health check, Cloud Map deletes the old health check and creates a new one. The health check isn't deleted immediately, so it will still appear for a while if you submit a ListHealthChecks request, for example. Do not include sensitive information in InstanceId if the namespace is discoverable by public DNS queries and any Type member of DnsRecord for the service contains SRV because the InstanceId is discoverable by public DNS queries.
|
|
997
997
|
*/
|
|
998
998
|
InstanceId: InstanceId;
|
|
999
999
|
/**
|
|
@@ -1001,7 +1001,7 @@ declare namespace ServiceDiscovery {
|
|
|
1001
1001
|
*/
|
|
1002
1002
|
CreatorRequestId?: ResourceId;
|
|
1003
1003
|
/**
|
|
1004
|
-
* A string map that contains the following information for the service that you specify in ServiceId: The attributes that apply to the records that are defined in the service. For each attribute, the applicable value.
|
|
1004
|
+
* A string map that contains the following information for the service that you specify in ServiceId: The attributes that apply to the records that are defined in the service. For each attribute, the applicable value. Do not include sensitive information in the attributes if the namespace is discoverable by public DNS queries. Supported attribute keys include the following: AWS_ALIAS_DNS_NAME If you want Cloud Map to create an Amazon Route 53 alias record that routes traffic to an Elastic Load Balancing load balancer, specify the DNS name that's associated with the load balancer. For information about how to get the DNS name, see "DNSName" in the topic AliasTarget in the Route 53 API Reference. Note the following: The configuration for the service that's specified by ServiceId must include settings for an A record, an AAAA record, or both. In the service that's specified by ServiceId, the value of RoutingPolicy must be WEIGHTED. If the service that's specified by ServiceId includes HealthCheckConfig settings, Cloud Map will create the Route 53 health check, but it doesn't associate the health check with the alias record. Auto naming currently doesn't support creating alias records that route traffic to Amazon Web Services resources other than Elastic Load Balancing load balancers. If you specify a value for AWS_ALIAS_DNS_NAME, don't specify values for any of the AWS_INSTANCE attributes. AWS_EC2_INSTANCE_ID HTTP namespaces only. The Amazon EC2 instance ID for the instance. If the AWS_EC2_INSTANCE_ID attribute is specified, then the only other attribute that can be specified is AWS_INIT_HEALTH_STATUS. When the AWS_EC2_INSTANCE_ID attribute is specified, then the AWS_INSTANCE_IPV4 attribute will be filled out with the primary private IPv4 address. AWS_INIT_HEALTH_STATUS If the service configuration includes HealthCheckCustomConfig, you can optionally use AWS_INIT_HEALTH_STATUS to specify the initial status of the custom health check, HEALTHY or UNHEALTHY. If you don't specify a value for AWS_INIT_HEALTH_STATUS, the initial status is HEALTHY. AWS_INSTANCE_CNAME If the service configuration includes a CNAME record, the domain name that you want Route 53 to return in response to DNS queries (for example, example.com). This value is required if the service specified by ServiceId includes settings for an CNAME record. AWS_INSTANCE_IPV4 If the service configuration includes an A record, the IPv4 address that you want Route 53 to return in response to DNS queries (for example, 192.0.2.44). This value is required if the service specified by ServiceId includes settings for an A record. If the service includes settings for an SRV record, you must specify a value for AWS_INSTANCE_IPV4, AWS_INSTANCE_IPV6, or both. AWS_INSTANCE_IPV6 If the service configuration includes an AAAA record, the IPv6 address that you want Route 53 to return in response to DNS queries (for example, 2001:0db8:85a3:0000:0000:abcd:0001:2345). This value is required if the service specified by ServiceId includes settings for an AAAA record. If the service includes settings for an SRV record, you must specify a value for AWS_INSTANCE_IPV4, AWS_INSTANCE_IPV6, or both. AWS_INSTANCE_PORT If the service includes an SRV record, the value that you want Route 53 to return for the port. If the service includes HealthCheckConfig, the port on the endpoint that you want Route 53 to send requests to. This value is required if you specified settings for an SRV record or a Route 53 health check when you created the service. Custom attributes You can add up to 30 custom attributes. For each key-value pair, the maximum length of the attribute name is 255 characters, and the maximum length of the attribute value is 1,024 characters. The total size of all provided attributes (sum of all keys and values) must not exceed 5,000 characters.
|
|
1005
1005
|
*/
|
|
1006
1006
|
Attributes: Attributes;
|
|
1007
1007
|
}
|
|
@@ -1054,7 +1054,7 @@ declare namespace ServiceDiscovery {
|
|
|
1054
1054
|
*/
|
|
1055
1055
|
InstanceCount?: ResourceCount;
|
|
1056
1056
|
/**
|
|
1057
|
-
* A complex type that contains information about the Route
|
|
1057
|
+
* A complex type that contains information about the Route 53 DNS records that you want Cloud Map to create when you register an instance. The record types of a service can only be changed by deleting the service and recreating it with a new Dnsconfig.
|
|
1058
1058
|
*/
|
|
1059
1059
|
DnsConfig?: DnsConfig;
|
|
1060
1060
|
/**
|
|
@@ -1062,7 +1062,7 @@ declare namespace ServiceDiscovery {
|
|
|
1062
1062
|
*/
|
|
1063
1063
|
Type?: ServiceType;
|
|
1064
1064
|
/**
|
|
1065
|
-
* Public DNS and HTTP namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig. For information about the charges for health checks, see Amazon Route
|
|
1065
|
+
* Public DNS and HTTP namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig. For information about the charges for health checks, see Amazon Route 53 Pricing.
|
|
1066
1066
|
*/
|
|
1067
1067
|
HealthCheckConfig?: HealthCheckConfig;
|
|
1068
1068
|
/**
|
|
@@ -1084,7 +1084,7 @@ declare namespace ServiceDiscovery {
|
|
|
1084
1084
|
*/
|
|
1085
1085
|
Description?: ResourceDescription;
|
|
1086
1086
|
/**
|
|
1087
|
-
* Information about the Route
|
|
1087
|
+
* Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
|
|
1088
1088
|
*/
|
|
1089
1089
|
DnsConfig?: DnsConfigChange;
|
|
1090
1090
|
/**
|
|
@@ -1102,7 +1102,7 @@ declare namespace ServiceDiscovery {
|
|
|
1102
1102
|
*/
|
|
1103
1103
|
Values: FilterValues;
|
|
1104
1104
|
/**
|
|
1105
|
-
* The operator that you want to use to determine whether a service is returned by ListServices. Valid values for Condition include the following: EQ: When you specify EQ, specify one namespace ID for Values. EQ is the default condition and can be omitted.
|
|
1105
|
+
* The operator that you want to use to determine whether a service is returned by ListServices. Valid values for Condition include the following: EQ: When you specify EQ, specify one namespace ID for Values. EQ is the default condition and can be omitted.
|
|
1106
1106
|
*/
|
|
1107
1107
|
Condition?: FilterCondition;
|
|
1108
1108
|
}
|
|
@@ -1136,7 +1136,7 @@ declare namespace ServiceDiscovery {
|
|
|
1136
1136
|
*/
|
|
1137
1137
|
InstanceCount?: ResourceCount;
|
|
1138
1138
|
/**
|
|
1139
|
-
* Information about the Route
|
|
1139
|
+
* Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
|
|
1140
1140
|
*/
|
|
1141
1141
|
DnsConfig?: DnsConfig;
|
|
1142
1142
|
/**
|