1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
"github.com/aws/aws-sdk-go-v2/service/opensearchserverless/document"
smithydocument "github.com/aws/smithy-go/document"
)
// Details about an OpenSearch Serverless access policy.
type AccessPolicyDetail struct {
// The date the policy was created.
CreatedDate *int64
// The description of the policy.
Description *string
// The timestamp of when the policy was last modified.
LastModifiedDate *int64
// The name of the policy.
Name *string
// The JSON policy document without any whitespaces.
Policy document.Interface
// The version of the policy.
PolicyVersion *string
// The type of access policy.
Type AccessPolicyType
noSmithyDocumentSerde
}
// Statistics for an OpenSearch Serverless access policy.
type AccessPolicyStats struct {
// The number of data access policies in the current account.
DataPolicyCount *int64
noSmithyDocumentSerde
}
// A summary of the data access policy.
type AccessPolicySummary struct {
// The Epoch time when the access policy was created.
CreatedDate *int64
// The description of the access policy.
Description *string
// The date and time when the collection was last modified.
LastModifiedDate *int64
// The name of the access policy.
Name *string
// The version of the policy.
PolicyVersion *string
// The type of access policy. Currently, the only available type is data .
Type AccessPolicyType
noSmithyDocumentSerde
}
// OpenSearch Serverless-related information for the current account.
type AccountSettingsDetail struct {
// The maximum capacity limits for all OpenSearch Serverless collections, in
// OpenSearch Compute Units (OCUs). These limits are used to scale your collections
// based on the current workload. For more information, see Managing capacity
// limits for Amazon OpenSearch Serverless (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html)
// .
CapacityLimits *CapacityLimits
noSmithyDocumentSerde
}
// The maximum capacity limits for all OpenSearch Serverless collections, in
// OpenSearch Compute Units (OCUs). These limits are used to scale your collections
// based on the current workload. For more information, see Managing capacity
// limits for Amazon OpenSearch Serverless (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html)
// .
type CapacityLimits struct {
// The maximum indexing capacity for collections.
MaxIndexingCapacityInOCU *int32
// The maximum search capacity for collections.
MaxSearchCapacityInOCU *int32
noSmithyDocumentSerde
}
// Details about each OpenSearch Serverless collection, including the collection
// endpoint and the OpenSearch Dashboards endpoint.
type CollectionDetail struct {
// The Amazon Resource Name (ARN) of the collection.
Arn *string
// Collection-specific endpoint used to submit index, search, and data upload
// requests to an OpenSearch Serverless collection.
CollectionEndpoint *string
// The Epoch time when the collection was created.
CreatedDate *int64
// Collection-specific endpoint used to access OpenSearch Dashboards.
DashboardEndpoint *string
// A description of the collection.
Description *string
// A unique identifier for the collection.
Id *string
// The ARN of the Amazon Web Services KMS key used to encrypt the collection.
KmsKeyArn *string
// The date and time when the collection was last modified.
LastModifiedDate *int64
// The name of the collection.
Name *string
// Details about an OpenSearch Serverless collection.
StandbyReplicas StandbyReplicas
// The current status of the collection.
Status CollectionStatus
// The type of collection.
Type CollectionType
noSmithyDocumentSerde
}
// Error information for an OpenSearch Serverless request.
type CollectionErrorDetail struct {
// The error code for the request. For example, NOT_FOUND .
ErrorCode *string
// A description of the error. For example, The specified Collection is not found.
ErrorMessage *string
// If the request contains collection IDs, the response includes the IDs provided
// in the request.
Id *string
// If the request contains collection names, the response includes the names
// provided in the request.
Name *string
noSmithyDocumentSerde
}
// A list of filter keys that you can use for LIST, UPDATE, and DELETE requests to
// OpenSearch Serverless collections.
type CollectionFilters struct {
// The name of the collection.
Name *string
// The current status of the collection.
Status CollectionStatus
noSmithyDocumentSerde
}
// Details about each OpenSearch Serverless collection.
type CollectionSummary struct {
// The Amazon Resource Name (ARN) of the collection.
Arn *string
// The unique identifier of the collection.
Id *string
// The name of the collection.
Name *string
// The current status of the collection.
Status CollectionStatus
noSmithyDocumentSerde
}
// Details about the created OpenSearch Serverless collection.
type CreateCollectionDetail struct {
// The Amazon Resource Name (ARN) of the collection.
Arn *string
// The Epoch time when the collection was created.
CreatedDate *int64
// A description of the collection.
Description *string
// The unique identifier of the collection.
Id *string
// The Amazon Resource Name (ARN) of the KMS key with which to encrypt the
// collection.
KmsKeyArn *string
// The date and time when the collection was last modified.
LastModifiedDate *int64
// The name of the collection.
Name *string
// Creates details about an OpenSearch Serverless collection.
StandbyReplicas StandbyReplicas
// The current status of the collection.
Status CollectionStatus
// The type of collection.
Type CollectionType
noSmithyDocumentSerde
}
// Creation details for an OpenSearch Serverless-managed interface endpoint. For
// more information, see Access Amazon OpenSearch Serverless using an interface
// endpoint (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html)
// .
type CreateVpcEndpointDetail struct {
// The unique identifier of the endpoint.
Id *string
// The name of the endpoint.
Name *string
// The current status in the endpoint creation process.
Status VpcEndpointStatus
noSmithyDocumentSerde
}
// Details about a deleted OpenSearch Serverless collection.
type DeleteCollectionDetail struct {
// The unique identifier of the collection.
Id *string
// The name of the collection.
Name *string
// The current status of the collection.
Status CollectionStatus
noSmithyDocumentSerde
}
// Deletion details for an OpenSearch Serverless-managed interface endpoint.
type DeleteVpcEndpointDetail struct {
// The unique identifier of the endpoint.
Id *string
// The name of the endpoint.
Name *string
// The current status of the endpoint deletion process.
Status VpcEndpointStatus
noSmithyDocumentSerde
}
// Error information for an OpenSearch Serverless request.
type EffectiveLifecyclePolicyDetail struct {
// The minimum number of index retention days set. That is an optional param that
// will return as true if the minimum number of days or hours is not set to a
// index resource.
NoMinRetentionPeriod *bool
// The name of the lifecycle policy.
PolicyName *string
// The name of the OpenSearch Serverless index resource.
Resource *string
// The type of OpenSearch Serverless resource. Currently, the only supported
// resource is index .
ResourceType ResourceType
// The minimum number of index retention in days or hours. This is an optional
// parameter that will return only if it’s set.
RetentionPeriod *string
// The type of lifecycle policy.
Type LifecyclePolicyType
noSmithyDocumentSerde
}
// Error information for an OpenSearch Serverless request.
type EffectiveLifecyclePolicyErrorDetail struct {
// The error code for the request.
ErrorCode *string
// A description of the error. For example, The specified Index resource is not
// found .
ErrorMessage *string
// The name of OpenSearch Serverless index resource.
Resource *string
// The type of lifecycle policy.
Type LifecyclePolicyType
noSmithyDocumentSerde
}
// Details about an OpenSearch Serverless lifecycle policy.
type LifecyclePolicyDetail struct {
// The date the lifecycle policy was created.
CreatedDate *int64
// The description of the lifecycle policy.
Description *string
// The timestamp of when the lifecycle policy was last modified.
LastModifiedDate *int64
// The name of the lifecycle policy.
Name *string
// The JSON policy document without any whitespaces.
Policy document.Interface
// The version of the lifecycle policy.
PolicyVersion *string
// The type of lifecycle policy.
Type LifecyclePolicyType
noSmithyDocumentSerde
}
// Error information for an OpenSearch Serverless request.
type LifecyclePolicyErrorDetail struct {
// The error code for the request. For example, NOT_FOUND .
ErrorCode *string
// A description of the error. For example, The specified Lifecycle Policy is not
// found .
ErrorMessage *string
// The name of the lifecycle policy.
Name *string
// The type of lifecycle policy.
Type LifecyclePolicyType
noSmithyDocumentSerde
}
// The unique identifiers of policy types and policy names.
type LifecyclePolicyIdentifier struct {
// The name of the lifecycle policy.
//
// This member is required.
Name *string
// The type of lifecycle policy.
//
// This member is required.
Type LifecyclePolicyType
noSmithyDocumentSerde
}
// The unique identifiers of policy types and resource names.
type LifecyclePolicyResourceIdentifier struct {
// The name of the OpenSearch Serverless ilndex resource.
//
// This member is required.
Resource *string
// The type of lifecycle policy.
//
// This member is required.
Type LifecyclePolicyType
noSmithyDocumentSerde
}
// Statistics for an OpenSearch Serverless lifecycle policy.
type LifecyclePolicyStats struct {
// The number of retention lifecycle policies in the current account.
RetentionPolicyCount *int64
noSmithyDocumentSerde
}
// A summary of the lifecycle policy.
type LifecyclePolicySummary struct {
// The Epoch time when the lifecycle policy was created.
CreatedDate *int64
// The description of the lifecycle policy.
Description *string
// The date and time when the lifecycle policy was last modified.
LastModifiedDate *int64
// The name of the lifecycle policy.
Name *string
// The version of the lifecycle policy.
PolicyVersion *string
// The type of lifecycle policy.
Type LifecyclePolicyType
noSmithyDocumentSerde
}
// Describes SAML options for an OpenSearch Serverless security configuration in
// the form of a key-value map.
type SamlConfigOptions struct {
// The XML IdP metadata file generated from your identity provider.
//
// This member is required.
Metadata *string
// The group attribute for this SAML integration.
GroupAttribute *string
// The session timeout, in minutes. Default is 60 minutes (12 hours).
SessionTimeout *int32
// A user attribute for this SAML integration.
UserAttribute *string
noSmithyDocumentSerde
}
// Details about a security configuration for OpenSearch Serverless.
type SecurityConfigDetail struct {
// The version of the security configuration.
ConfigVersion *string
// The date the configuration was created.
CreatedDate *int64
// The description of the security configuration.
Description *string
// The unique identifier of the security configuration.
Id *string
// The timestamp of when the configuration was last modified.
LastModifiedDate *int64
// SAML options for the security configuration in the form of a key-value map.
SamlOptions *SamlConfigOptions
// The type of security configuration.
Type SecurityConfigType
noSmithyDocumentSerde
}
// Statistics for an OpenSearch Serverless security configuration.
type SecurityConfigStats struct {
// The number of security configurations in the current account.
SamlConfigCount *int64
noSmithyDocumentSerde
}
// A summary of a security configuration for OpenSearch Serverless.
type SecurityConfigSummary struct {
// The version of the security configuration.
ConfigVersion *string
// The Epoch time when the security configuration was created.
CreatedDate *int64
// The description of the security configuration.
Description *string
// The unique identifier of the security configuration.
Id *string
// The timestamp of when the configuration was last modified.
LastModifiedDate *int64
// The type of security configuration.
Type SecurityConfigType
noSmithyDocumentSerde
}
// Details about an OpenSearch Serverless security policy.
type SecurityPolicyDetail struct {
// The date the policy was created.
CreatedDate *int64
// The description of the security policy.
Description *string
// The timestamp of when the policy was last modified.
LastModifiedDate *int64
// The name of the policy.
Name *string
// The JSON policy document without any whitespaces.
Policy document.Interface
// The version of the policy.
PolicyVersion *string
// The type of security policy.
Type SecurityPolicyType
noSmithyDocumentSerde
}
// Statistics for an OpenSearch Serverless security policy.
type SecurityPolicyStats struct {
// The number of encryption policies in the current account.
EncryptionPolicyCount *int64
// The number of network policies in the current account.
NetworkPolicyCount *int64
noSmithyDocumentSerde
}
// A summary of a security policy for OpenSearch Serverless.
type SecurityPolicySummary struct {
// The date the policy was created.
CreatedDate *int64
// The description of the security policy.
Description *string
// The timestamp of when the policy was last modified.
LastModifiedDate *int64
// The name of the policy.
Name *string
// The version of the policy.
PolicyVersion *string
// The type of security policy.
Type SecurityPolicyType
noSmithyDocumentSerde
}
// A map of key-value pairs associated to an OpenSearch Serverless resource.
type Tag struct {
// The key to use in the tag.
//
// This member is required.
Key *string
// The value of the tag.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// Details about an updated OpenSearch Serverless collection.
type UpdateCollectionDetail struct {
// The Amazon Resource Name (ARN) of the collection.
Arn *string
// The date and time when the collection was created.
CreatedDate *int64
// The description of the collection.
Description *string
// The unique identifier of the collection.
Id *string
// The date and time when the collection was last modified.
LastModifiedDate *int64
// The name of the collection.
Name *string
// The current status of the collection.
Status CollectionStatus
// The collection type.
Type CollectionType
noSmithyDocumentSerde
}
// Update details for an OpenSearch Serverless-managed interface endpoint.
type UpdateVpcEndpointDetail struct {
// The unique identifier of the endpoint.
Id *string
// The timestamp of when the endpoint was last modified.
LastModifiedDate *int64
// The name of the endpoint.
Name *string
// The unique identifiers of the security groups that define the ports, protocols,
// and sources for inbound traffic that you are authorizing into your endpoint.
SecurityGroupIds []string
// The current status of the endpoint update process.
Status VpcEndpointStatus
// The ID of the subnets from which you access OpenSearch Serverless.
SubnetIds []string
noSmithyDocumentSerde
}
// Details about an OpenSearch Serverless-managed interface endpoint.
type VpcEndpointDetail struct {
// The date the endpoint was created.
CreatedDate *int64
// The unique identifier of the endpoint.
Id *string
// The name of the endpoint.
Name *string
// The unique identifiers of the security groups that define the ports, protocols,
// and sources for inbound traffic that you are authorizing into your endpoint.
SecurityGroupIds []string
// The current status of the endpoint.
Status VpcEndpointStatus
// The ID of the subnets from which you access OpenSearch Serverless.
SubnetIds []string
// The ID of the VPC from which you access OpenSearch Serverless.
VpcId *string
noSmithyDocumentSerde
}
// Error information for a failed BatchGetVpcEndpoint request.
type VpcEndpointErrorDetail struct {
// The error code for the failed request.
ErrorCode *string
// An error message describing the reason for the failure.
ErrorMessage *string
// The unique identifier of the VPC endpoint.
Id *string
noSmithyDocumentSerde
}
// Filter the results of a ListVpcEndpoints request.
type VpcEndpointFilters struct {
// The current status of the endpoint.
Status VpcEndpointStatus
noSmithyDocumentSerde
}
// The VPC endpoint object.
type VpcEndpointSummary struct {
// The unique identifier of the endpoint.
Id *string
// The name of the endpoint.
Name *string
// The current status of the endpoint.
Status VpcEndpointStatus
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|