Connect / Client / associate_hours_of_operations

associate_hours_of_operations

Connect.Client.associate_hours_of_operations(**kwargs)

Associates a set of hours of operations with another hours of operation. Refer to Administrator Guide here for more information on inheriting overrides from parent hours of operation(s).

See also: AWS API Documentation

Request Syntax

response = client.associate_hours_of_operations(
    InstanceId='string',
    HoursOfOperationId='string',
    ParentHoursOfOperationConfigs=[
        {
            'HoursOfOperationId': 'string'
        },
    ]
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • HoursOfOperationId (string) –

    [REQUIRED]

    The identifier of the child hours of operation.

  • ParentHoursOfOperationConfigs (list) –

    [REQUIRED]

    The Amazon Resource Names (ARNs) of the parent hours of operation resources to associate with the child hours of operation resource.

    • (dict) –

      Contains configuration for the parent hours of operation.

      • HoursOfOperationId (string) –

        The identifier for the hours of operation.

Returns:

None

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.ConditionalOperationFailedException

  • Connect.Client.exceptions.ServiceQuotaExceededException