aws-sdk 2.1616.0 → 2.1617.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.
@@ -91,6 +91,14 @@ declare class SsmSap extends Service {
91
91
  * Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
92
92
  */
93
93
  listDatabases(callback?: (err: AWSError, data: SsmSap.Types.ListDatabasesOutput) => void): Request<SsmSap.Types.ListDatabasesOutput, AWSError>;
94
+ /**
95
+ * Returns a list of operations events. Available parameters include OperationID, as well as optional parameters MaxResults, NextToken, and Filters.
96
+ */
97
+ listOperationEvents(params: SsmSap.Types.ListOperationEventsInput, callback?: (err: AWSError, data: SsmSap.Types.ListOperationEventsOutput) => void): Request<SsmSap.Types.ListOperationEventsOutput, AWSError>;
98
+ /**
99
+ * Returns a list of operations events. Available parameters include OperationID, as well as optional parameters MaxResults, NextToken, and Filters.
100
+ */
101
+ listOperationEvents(callback?: (err: AWSError, data: SsmSap.Types.ListOperationEventsOutput) => void): Request<SsmSap.Types.ListOperationEventsOutput, AWSError>;
94
102
  /**
95
103
  * Lists the operations performed by AWS Systems Manager for SAP.
96
104
  */
@@ -123,6 +131,14 @@ declare class SsmSap extends Service {
123
131
  * Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering. The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2. AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions. Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.
124
132
  */
125
133
  registerApplication(callback?: (err: AWSError, data: SsmSap.Types.RegisterApplicationOutput) => void): Request<SsmSap.Types.RegisterApplicationOutput, AWSError>;
134
+ /**
135
+ * Request is an operation which starts an application. Parameter ApplicationId is required.
136
+ */
137
+ startApplication(params: SsmSap.Types.StartApplicationInput, callback?: (err: AWSError, data: SsmSap.Types.StartApplicationOutput) => void): Request<SsmSap.Types.StartApplicationOutput, AWSError>;
138
+ /**
139
+ * Request is an operation which starts an application. Parameter ApplicationId is required.
140
+ */
141
+ startApplication(callback?: (err: AWSError, data: SsmSap.Types.StartApplicationOutput) => void): Request<SsmSap.Types.StartApplicationOutput, AWSError>;
126
142
  /**
127
143
  * Refreshes a registered application.
128
144
  */
@@ -131,6 +147,14 @@ declare class SsmSap extends Service {
131
147
  * Refreshes a registered application.
132
148
  */
133
149
  startApplicationRefresh(callback?: (err: AWSError, data: SsmSap.Types.StartApplicationRefreshOutput) => void): Request<SsmSap.Types.StartApplicationRefreshOutput, AWSError>;
150
+ /**
151
+ * Request is an operation to stop an application. Parameter ApplicationId is required. Parameters StopConnectedEntity and IncludeEc2InstanceShutdown are optional.
152
+ */
153
+ stopApplication(params: SsmSap.Types.StopApplicationInput, callback?: (err: AWSError, data: SsmSap.Types.StopApplicationOutput) => void): Request<SsmSap.Types.StopApplicationOutput, AWSError>;
154
+ /**
155
+ * Request is an operation to stop an application. Parameter ApplicationId is required. Parameters StopConnectedEntity and IncludeEc2InstanceShutdown are optional.
156
+ */
157
+ stopApplication(callback?: (err: AWSError, data: SsmSap.Types.StopApplicationOutput) => void): Request<SsmSap.Types.StopApplicationOutput, AWSError>;
134
158
  /**
135
159
  * Creates tag for a resource by specifying the ARN.
136
160
  */
@@ -380,6 +404,7 @@ declare namespace SsmSap {
380
404
  }
381
405
  export type ComponentSummaryList = ComponentSummary[];
382
406
  export type ComponentType = "HANA"|"HANA_NODE"|"ABAP"|"ASCS"|"DIALOG"|"WEBDISP"|"WD"|"ERS"|string;
407
+ export type ConnectedEntityType = "DBMS"|string;
383
408
  export type CredentialType = "ADMIN"|string;
384
409
  export interface Database {
385
410
  /**
@@ -672,7 +697,7 @@ declare namespace SsmSap {
672
697
  */
673
698
  NextToken?: NextToken;
674
699
  /**
675
- * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
700
+ * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
676
701
  */
677
702
  MaxResults?: MaxResults;
678
703
  /**
@@ -742,6 +767,34 @@ declare namespace SsmSap {
742
767
  */
743
768
  NextToken?: NextToken;
744
769
  }
770
+ export interface ListOperationEventsInput {
771
+ /**
772
+ * The ID of the operation.
773
+ */
774
+ OperationId: OperationId;
775
+ /**
776
+ * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If you do not specify a value for MaxResults, the request returns 50 items per page by default.
777
+ */
778
+ MaxResults?: MaxResults;
779
+ /**
780
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
781
+ */
782
+ NextToken?: NextToken;
783
+ /**
784
+ * Optionally specify filters to narrow the returned operation event items. Valid filter names include status, resourceID, and resourceType. The valid operator for all three filters is Equals.
785
+ */
786
+ Filters?: FilterList;
787
+ }
788
+ export interface ListOperationEventsOutput {
789
+ /**
790
+ * A returned list of operation events that meet the filter criteria.
791
+ */
792
+ OperationEvents?: OperationEventList;
793
+ /**
794
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
795
+ */
796
+ NextToken?: NextToken;
797
+ }
745
798
  export interface ListOperationsInput {
746
799
  /**
747
800
  * The ID of the application.
@@ -830,6 +883,31 @@ declare namespace SsmSap {
830
883
  */
831
884
  LastUpdatedTime?: Timestamp;
832
885
  }
886
+ export interface OperationEvent {
887
+ /**
888
+ * A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321".
889
+ */
890
+ Description?: String;
891
+ /**
892
+ * The resource involved in the operations event. Contains ResourceArn ARN and ResourceType.
893
+ */
894
+ Resource?: Resource;
895
+ /**
896
+ * The status of the operation event. The possible statuses are: IN_PROGRESS, COMPLETED, and FAILED.
897
+ */
898
+ Status?: OperationEventStatus;
899
+ /**
900
+ * The status message relating to a specific operation event.
901
+ */
902
+ StatusMessage?: String;
903
+ /**
904
+ * The timestamp of the specified operation event.
905
+ */
906
+ Timestamp?: Timestamp;
907
+ }
908
+ export type OperationEventList = OperationEvent[];
909
+ export type OperationEventResourceType = string;
910
+ export type OperationEventStatus = "IN_PROGRESS"|"COMPLETED"|"FAILED"|string;
833
911
  export type OperationId = string;
834
912
  export type OperationIdList = OperationId[];
835
913
  export type OperationList = Operation[];
@@ -925,12 +1003,34 @@ declare namespace SsmSap {
925
1003
  */
926
1004
  EnqueueReplication?: Boolean;
927
1005
  }
1006
+ export interface Resource {
1007
+ /**
1008
+ * The Amazon Resource Name (ARN) of the source resource. Example of ResourceArn: "arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321"
1009
+ */
1010
+ ResourceArn?: Arn;
1011
+ /**
1012
+ * The resource type. Example of ResourceType: "AWS::SystemsManagerSAP::Component" or "AWS::EC2::Instance".
1013
+ */
1014
+ ResourceType?: OperationEventResourceType;
1015
+ }
928
1016
  export type ResourceId = string;
929
1017
  export type ResourceType = string;
930
1018
  export type SAPInstanceNumber = string;
931
1019
  export type SID = string;
932
1020
  export type SecretId = string;
933
1021
  export type SsmSapArn = string;
1022
+ export interface StartApplicationInput {
1023
+ /**
1024
+ * The ID of the application.
1025
+ */
1026
+ ApplicationId: ApplicationId;
1027
+ }
1028
+ export interface StartApplicationOutput {
1029
+ /**
1030
+ * The ID of the operation.
1031
+ */
1032
+ OperationId?: OperationId;
1033
+ }
934
1034
  export interface StartApplicationRefreshInput {
935
1035
  /**
936
1036
  * The ID of the application.
@@ -943,6 +1043,26 @@ declare namespace SsmSap {
943
1043
  */
944
1044
  OperationId?: OperationId;
945
1045
  }
1046
+ export interface StopApplicationInput {
1047
+ /**
1048
+ * The ID of the application.
1049
+ */
1050
+ ApplicationId: ApplicationId;
1051
+ /**
1052
+ * Specify the ConnectedEntityType. Accepted type is DBMS. If this parameter is included, the connected DBMS (Database Management System) will be stopped.
1053
+ */
1054
+ StopConnectedEntity?: ConnectedEntityType;
1055
+ /**
1056
+ * Boolean. If included and if set to True, the StopApplication operation will shut down the associated Amazon EC2 instance in addition to the application.
1057
+ */
1058
+ IncludeEc2InstanceShutdown?: Boolean;
1059
+ }
1060
+ export interface StopApplicationOutput {
1061
+ /**
1062
+ * The ID of the operation.
1063
+ */
1064
+ OperationId?: OperationId;
1065
+ }
946
1066
  export type String = string;
947
1067
  export type TagKey = string;
948
1068
  export type TagKeyList = TagKey[];
@@ -232,6 +232,7 @@ declare namespace VerifiedPermissions {
232
232
  */
233
233
  actionId: ActionId;
234
234
  }
235
+ export type ActionIdentifierList = ActionIdentifier[];
235
236
  export type ActionType = string;
236
237
  export interface AttributeValue {
237
238
  /**
@@ -415,7 +416,7 @@ declare namespace VerifiedPermissions {
415
416
  */
416
417
  clientIds?: ClientIds;
417
418
  /**
418
- * The configuration of the user groups from an Amazon Cognito user pool identity source.
419
+ * The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
419
420
  */
420
421
  groupConfiguration?: CognitoGroupConfiguration;
421
422
  }
@@ -433,7 +434,7 @@ declare namespace VerifiedPermissions {
433
434
  */
434
435
  issuer: Issuer;
435
436
  /**
436
- * The configuration of the user groups from an Amazon Cognito user pool identity source.
437
+ * The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
437
438
  */
438
439
  groupConfiguration?: CognitoGroupConfigurationDetail;
439
440
  }
@@ -451,7 +452,7 @@ declare namespace VerifiedPermissions {
451
452
  */
452
453
  issuer: Issuer;
453
454
  /**
454
- * The configuration of the user groups from an Amazon Cognito user pool identity source.
455
+ * The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
455
456
  */
456
457
  groupConfiguration?: CognitoGroupConfigurationItem;
457
458
  }
@@ -463,13 +464,13 @@ declare namespace VerifiedPermissions {
463
464
  }
464
465
  export interface ConfigurationDetail {
465
466
  /**
466
- * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
467
+ * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
467
468
  */
468
469
  cognitoUserPoolConfiguration?: CognitoUserPoolConfigurationDetail;
469
470
  }
470
471
  export interface ConfigurationItem {
471
472
  /**
472
- * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
473
+ * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
473
474
  */
474
475
  cognitoUserPoolConfiguration?: CognitoUserPoolConfigurationItem;
475
476
  }
@@ -551,6 +552,10 @@ declare namespace VerifiedPermissions {
551
552
  * The resource specified in the new policy's scope. This response element isn't present when the resource isn't specified in the policy content.
552
553
  */
553
554
  resource?: EntityIdentifier;
555
+ /**
556
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
557
+ */
558
+ actions?: ActionIdentifierList;
554
559
  /**
555
560
  * The date and time the policy was originally created.
556
561
  */
@@ -559,6 +564,10 @@ declare namespace VerifiedPermissions {
559
564
  * The date and time the policy was last updated.
560
565
  */
561
566
  lastUpdatedDate: TimestampFormat;
567
+ /**
568
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
569
+ */
570
+ effect?: PolicyEffect;
562
571
  }
563
572
  export interface CreatePolicyStoreInput {
564
573
  /**
@@ -803,6 +812,10 @@ declare namespace VerifiedPermissions {
803
812
  * The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
804
813
  */
805
814
  resource?: EntityIdentifier;
815
+ /**
816
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
817
+ */
818
+ actions?: ActionIdentifierList;
806
819
  /**
807
820
  * The definition of the requested policy.
808
821
  */
@@ -815,6 +828,10 @@ declare namespace VerifiedPermissions {
815
828
  * The date and time that the policy was last updated.
816
829
  */
817
830
  lastUpdatedDate: TimestampFormat;
831
+ /**
832
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
833
+ */
834
+ effect?: PolicyEffect;
818
835
  }
819
836
  export interface GetPolicyStoreInput {
820
837
  /**
@@ -1088,7 +1105,7 @@ declare namespace VerifiedPermissions {
1088
1105
  */
1089
1106
  nextToken?: NextToken;
1090
1107
  /**
1091
- * Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 200 identity sources per response.
1108
+ * Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 50 identity sources per response.
1092
1109
  */
1093
1110
  maxResults?: ListIdentitySourcesMaxResults;
1094
1111
  /**
@@ -1216,6 +1233,7 @@ declare namespace VerifiedPermissions {
1216
1233
  */
1217
1234
  templateLinked?: TemplateLinkedPolicyDefinitionItem;
1218
1235
  }
1236
+ export type PolicyEffect = "Permit"|"Forbid"|string;
1219
1237
  export interface PolicyFilter {
1220
1238
  /**
1221
1239
  * Filters the output to only policies that reference the specified principal.
@@ -1256,6 +1274,10 @@ declare namespace VerifiedPermissions {
1256
1274
  * The resource associated with the policy.
1257
1275
  */
1258
1276
  resource?: EntityIdentifier;
1277
+ /**
1278
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
1279
+ */
1280
+ actions?: ActionIdentifierList;
1259
1281
  /**
1260
1282
  * The policy definition of an item in the list of policies returned.
1261
1283
  */
@@ -1268,6 +1290,10 @@ declare namespace VerifiedPermissions {
1268
1290
  * The date and time the policy was most recently updated.
1269
1291
  */
1270
1292
  lastUpdatedDate: TimestampFormat;
1293
+ /**
1294
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
1295
+ */
1296
+ effect?: PolicyEffect;
1271
1297
  }
1272
1298
  export type PolicyList = PolicyItem[];
1273
1299
  export type PolicyStatement = string;
@@ -1537,6 +1563,10 @@ declare namespace VerifiedPermissions {
1537
1563
  * The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
1538
1564
  */
1539
1565
  resource?: EntityIdentifier;
1566
+ /**
1567
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
1568
+ */
1569
+ actions?: ActionIdentifierList;
1540
1570
  /**
1541
1571
  * The date and time that the policy was originally created.
1542
1572
  */
@@ -1545,6 +1575,10 @@ declare namespace VerifiedPermissions {
1545
1575
  * The date and time that the policy was most recently updated.
1546
1576
  */
1547
1577
  lastUpdatedDate: TimestampFormat;
1578
+ /**
1579
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
1580
+ */
1581
+ effect?: PolicyEffect;
1548
1582
  }
1549
1583
  export interface UpdatePolicyStoreInput {
1550
1584
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1616.0',
86
+ VERSION: '2.1617.0',
87
87
 
88
88
  /**
89
89
  * @api private