@aws-sdk/client-connect 3.1079.0 → 3.1081.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.
Files changed (52) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +119 -54
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateAuthCodeCommand.js +4 -0
  5. package/dist-es/commands/DeleteSessionCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +3 -0
  8. package/dist-es/schemas/schemas_0.js +97 -53
  9. package/dist-types/Connect.d.ts +14 -0
  10. package/dist-types/ConnectClient.d.ts +4 -2
  11. package/dist-types/commands/CreateAuthCodeCommand.d.ts +103 -0
  12. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +2 -1
  13. package/dist-types/commands/CreateViewCommand.d.ts +1 -2
  14. package/dist-types/commands/DeleteSessionCommand.d.ts +88 -0
  15. package/dist-types/commands/GetFederationTokenCommand.d.ts +5 -2
  16. package/dist-types/commands/GetMetricDataCommand.d.ts +1 -2
  17. package/dist-types/commands/SearchDataTablesCommand.d.ts +1 -2
  18. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
  19. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -1
  20. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
  21. package/dist-types/commands/SearchTestCasesCommand.d.ts +2 -1
  22. package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/enums.d.ts +11 -0
  25. package/dist-types/models/models_0.d.ts +80 -78
  26. package/dist-types/models/models_1.d.ts +106 -542
  27. package/dist-types/models/models_2.d.ts +535 -103
  28. package/dist-types/models/models_3.d.ts +105 -173
  29. package/dist-types/models/models_4.d.ts +171 -2
  30. package/dist-types/schemas/schemas_0.d.ts +7 -0
  31. package/dist-types/ts3.4/Connect.d.ts +34 -0
  32. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  33. package/dist-types/ts3.4/commands/CreateAuthCodeCommand.d.ts +43 -0
  34. package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +2 -4
  35. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +1 -2
  36. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +43 -0
  37. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/SearchDataTablesCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/SearchTestCasesCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
  44. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  45. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +19 -18
  47. package/dist-types/ts3.4/models/models_1.d.ts +24 -33
  48. package/dist-types/ts3.4/models/models_2.d.ts +35 -23
  49. package/dist-types/ts3.4/models/models_3.d.ts +23 -38
  50. package/dist-types/ts3.4/models/models_4.d.ts +47 -4
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  52. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, BehaviorType, Channel, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MultiSelectQuestionRuleCategoryAutomationCondition, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName, PhoneType, PropertyValidationExceptionReason, QuickConnectType, RecurrenceFrequency, ReferenceStatus, ReferenceType, RehydrationType, RulePublishStatus, ScreenShareCapability, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, SourceType, StorageType, StringComparisonType, TaskTemplateFieldType, TaskTemplateStatus, TestCaseEntryPointType, TestCaseStatus, UseCaseType, VideoCapability, ViewStatus, VocabularyLanguageCode, VoiceEnhancementMode } from "./enums";
1
+ import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, AuthCodeEntityType, BehaviorType, Channel, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MultiSelectQuestionRuleCategoryAutomationCondition, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName, PhoneType, PropertyValidationExceptionReason, QuickConnectType, RecurrenceFrequency, ReferenceStatus, ReferenceType, RehydrationType, RulePublishStatus, ScreenShareCapability, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, SourceType, StorageType, StringComparisonType, TaskTemplateFieldType, TaskTemplateStatus, TestCaseEntryPointType, TestCaseStatus, UseCaseType, VideoCapability, VocabularyLanguageCode, VoiceEnhancementMode } from "./enums";
2
2
  /**
3
3
  * <p>Information about an action.</p>
4
4
  * @public
@@ -3018,6 +3018,85 @@ export interface CreateAttachedFileResponse {
3018
3018
  */
3019
3019
  FileStatus?: FileStatusType | undefined;
3020
3020
  }
3021
+ /**
3022
+ * <p>Contains the scope configuration for an authorization code. Defines the permissions and access boundaries for
3023
+ * the session.</p>
3024
+ * @public
3025
+ */
3026
+ export interface AuthScope {
3027
+ /**
3028
+ * <p>The list of security profile identifiers to scope the session to. Maximum of 10 security profiles.</p>
3029
+ * @public
3030
+ */
3031
+ SecurityProfileIds?: string[] | undefined;
3032
+ /**
3033
+ * <p>The type of entity to scope the session to.</p>
3034
+ * @public
3035
+ */
3036
+ EntityType: AuthCodeEntityType | undefined;
3037
+ /**
3038
+ * <p>The identifier of the entity to scope the session to.</p>
3039
+ * @public
3040
+ */
3041
+ EntityId?: string | undefined;
3042
+ /**
3043
+ * <p>The name of the Customer Profiles domain to scope the session to.</p>
3044
+ * @public
3045
+ */
3046
+ DomainName?: string | undefined;
3047
+ }
3048
+ /**
3049
+ * @public
3050
+ */
3051
+ export interface CreateAuthCodeRequest {
3052
+ /**
3053
+ * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
3054
+ * @public
3055
+ */
3056
+ InstanceId: string | undefined;
3057
+ /**
3058
+ * <p>The scope for the authorization code. Defines the permissions and access boundaries for the session.</p>
3059
+ * @public
3060
+ */
3061
+ Scope: AuthScope | undefined;
3062
+ /**
3063
+ * <p>The maximum duration of the session, in minutes. Minimum value of 1440 (24 hours). Maximum value of 43200 (30
3064
+ * days). If no value is provided, the session will expire after 400 days.</p>
3065
+ * @public
3066
+ */
3067
+ MaxSessionDurationMinutes?: number | undefined;
3068
+ /**
3069
+ * <p>The duration of inactivity, in minutes, after which the session expires. Minimum value of 1440 (24 hours).
3070
+ * Maximum value of 20160 (14 days).</p>
3071
+ * @public
3072
+ */
3073
+ SessionInactivityDurationMinutes: number | undefined;
3074
+ }
3075
+ /**
3076
+ * @public
3077
+ */
3078
+ export interface CreateAuthCodeResponse {
3079
+ /**
3080
+ * <p>The authorization code to use for establishing a session.</p>
3081
+ * @public
3082
+ */
3083
+ AuthCode?: string | undefined;
3084
+ /**
3085
+ * <p>The identifier of the session created with the authorization code.</p>
3086
+ * @public
3087
+ */
3088
+ SessionId?: string | undefined;
3089
+ /**
3090
+ * <p>The type of entity associated with the authorization code.</p>
3091
+ * @public
3092
+ */
3093
+ EntityType?: AuthCodeEntityType | undefined;
3094
+ /**
3095
+ * <p>The identifier of the entity associated with the authorization code.</p>
3096
+ * @public
3097
+ */
3098
+ EntityId?: string | undefined;
3099
+ }
3021
3100
  /**
3022
3101
  * <p>Well-formed data on a contact, used by agents to complete a contact request. You can have up to 4,096 UTF-8
3023
3102
  * bytes across all references for a contact.</p>
@@ -6929,80 +7008,3 @@ export interface CreateUserHierarchyGroupRequest {
6929
7008
  */
6930
7009
  Tags?: Record<string, string> | undefined;
6931
7010
  }
6932
- /**
6933
- * @public
6934
- */
6935
- export interface CreateUserHierarchyGroupResponse {
6936
- /**
6937
- * <p>The identifier of the hierarchy group.</p>
6938
- * @public
6939
- */
6940
- HierarchyGroupId?: string | undefined;
6941
- /**
6942
- * <p>The Amazon Resource Name (ARN) of the hierarchy group. </p>
6943
- * @public
6944
- */
6945
- HierarchyGroupArn?: string | undefined;
6946
- }
6947
- /**
6948
- * <p>View content containing all content necessary to render a view except for runtime input data and the runtime
6949
- * input schema, which is auto-generated by this operation.</p>
6950
- * @public
6951
- */
6952
- export interface ViewInputContent {
6953
- /**
6954
- * <p>The view template representing the structure of the view.</p>
6955
- * @public
6956
- */
6957
- Template?: string | undefined;
6958
- /**
6959
- * <p>A list of possible actions from the view.</p>
6960
- * @public
6961
- */
6962
- Actions?: string[] | undefined;
6963
- }
6964
- /**
6965
- * @public
6966
- */
6967
- export interface CreateViewRequest {
6968
- /**
6969
- * <p>The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the
6970
- * instance.</p>
6971
- * @public
6972
- */
6973
- InstanceId: string | undefined;
6974
- /**
6975
- * <p>A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent
6976
- * ClientToken is provided.</p>
6977
- * @public
6978
- */
6979
- ClientToken?: string | undefined;
6980
- /**
6981
- * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The <code>PUBLISHED</code>
6982
- * status will initiate validation on the content.</p>
6983
- * @public
6984
- */
6985
- Status: ViewStatus | undefined;
6986
- /**
6987
- * <p>View content containing all content necessary to render a view except for runtime input data.</p>
6988
- * <p>The total uncompressed content has a maximum file size of 400kB.</p>
6989
- * @public
6990
- */
6991
- Content: ViewInputContent | undefined;
6992
- /**
6993
- * <p>The description of the view.</p>
6994
- * @public
6995
- */
6996
- Description?: string | undefined;
6997
- /**
6998
- * <p>The name of the view.</p>
6999
- * @public
7000
- */
7001
- Name: string | undefined;
7002
- /**
7003
- * <p>The tags associated with the view resource (not specific to view version).These tags can be used to organize,
7004
- * track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
7005
- * @public
7006
- */
7007
- Tags?: Record<string, string> | undefined;
7008
- }